<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Java(tm) Debug Wire Protocol</title>
<style>
body { background-color:white; }
table { border: 1px solid grey; border-spacing:0px; border-collapse: separate; width: 90%; }
td, th { padding: 3px; border: 1px solid black; font-weight: normal; text-align: left; }
.bold { font-weight: bold; }
.centered { text-align: center; }
.indent0 { padding-left: 0px; }
.indent1 { padding-left: 40px; }
.indent2 { padding-left: 80px; }
.indent3 { padding-left: 120px; }
.indent4 { padding-left: 160px; }
</style>
</head>
<body>
<header>
<h1 id="Protocol_Details">Java Debug Wire Protocol Details</h1>
</header>
<nav>
<ul>
<li><a href="#JDWP_VirtualMachine">VirtualMachine</a> Command Set (1)
<ul>
        <li><a href="#JDWP_VirtualMachine_Version">Version</a> (1)
        <li><a href="#JDWP_VirtualMachine_ClassesBySignature">ClassesBySignature</a> (2)
        <li><a href="#JDWP_VirtualMachine_AllClasses">AllClasses</a> (3)
        <li><a href="#JDWP_VirtualMachine_AllThreads">AllThreads</a> (4)
        <li><a href="#JDWP_VirtualMachine_TopLevelThreadGroups">TopLevelThreadGroups</a> (5)
        <li><a href="#JDWP_VirtualMachine_Dispose">Dispose</a> (6)
        <li><a href="#JDWP_VirtualMachine_IDSizes">IDSizes</a> (7)
        <li><a href="#JDWP_VirtualMachine_Suspend">Suspend</a> (8)
        <li><a href="#JDWP_VirtualMachine_Resume">Resume</a> (9)
        <li><a href="#JDWP_VirtualMachine_Exit">Exit</a> (10)
        <li><a href="#JDWP_VirtualMachine_CreateString">CreateString</a> (11)
        <li><a href="#JDWP_VirtualMachine_Capabilities">Capabilities</a> (12)
        <li><a href="#JDWP_VirtualMachine_ClassPaths">ClassPaths</a> (13)
        <li><a href="#JDWP_VirtualMachine_DisposeObjects">DisposeObjects</a> (14)
        <li><a href="#JDWP_VirtualMachine_HoldEvents">HoldEvents</a> (15)
        <li><a href="#JDWP_VirtualMachine_ReleaseEvents">ReleaseEvents</a> (16)
        <li><a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a> (17)
        <li><a href="#JDWP_VirtualMachine_RedefineClasses">RedefineClasses</a> (18)
        <li><a href="#JDWP_VirtualMachine_SetDefaultStratum">SetDefaultStratum</a> (19)
        <li><a href="#JDWP_VirtualMachine_AllClassesWithGeneric">AllClassesWithGeneric</a> (20)
        <li><a href="#JDWP_VirtualMachine_InstanceCounts">InstanceCounts</a> (21)
        <li><a href="#JDWP_VirtualMachine_AllModules">AllModules</a> (22)
</ul>
<li><a href="#JDWP_ReferenceType">ReferenceType</a> Command Set (2)
<ul>
        <li><a href="#JDWP_ReferenceType_Signature">Signature</a> (1)
        <li><a href="#JDWP_ReferenceType_ClassLoader">ClassLoader</a> (2)
        <li><a href="#JDWP_ReferenceType_Modifiers">Modifiers</a> (3)
        <li><a href="#JDWP_ReferenceType_Fields">Fields</a> (4)
        <li><a href="#JDWP_ReferenceType_Methods">Methods</a> (5)
        <li><a href="#JDWP_ReferenceType_GetValues">GetValues</a> (6)
        <li><a href="#JDWP_ReferenceType_SourceFile">SourceFile</a> (7)
        <li><a href="#JDWP_ReferenceType_NestedTypes">NestedTypes</a> (8)
        <li><a href="#JDWP_ReferenceType_Status">Status</a> (9)
        <li><a href="#JDWP_ReferenceType_Interfaces">Interfaces</a> (10)
        <li><a href="#JDWP_ReferenceType_ClassObject">ClassObject</a> (11)
        <li><a href="#JDWP_ReferenceType_SourceDebugExtension">SourceDebugExtension</a> (12)
        <li><a href="#JDWP_ReferenceType_SignatureWithGeneric">SignatureWithGeneric</a> (13)
        <li><a href="#JDWP_ReferenceType_FieldsWithGeneric">FieldsWithGeneric</a> (14)
        <li><a href="#JDWP_ReferenceType_MethodsWithGeneric">MethodsWithGeneric</a> (15)
        <li><a href="#JDWP_ReferenceType_Instances">Instances</a> (16)
        <li><a href="#JDWP_ReferenceType_ClassFileVersion">ClassFileVersion</a> (17)
        <li><a href="#JDWP_ReferenceType_ConstantPool">ConstantPool</a> (18)
        <li><a href="#JDWP_ReferenceType_Module">Module</a> (19)
</ul>
<li><a href="#JDWP_ClassType">ClassType</a> Command Set (3)
<ul>
        <li><a href="#JDWP_ClassType_Superclass">Superclass</a> (1)
        <li><a href="#JDWP_ClassType_SetValues">SetValues</a> (2)
        <li><a href="#JDWP_ClassType_InvokeMethod">InvokeMethod</a> (3)
        <li><a href="#JDWP_ClassType_NewInstance">NewInstance</a> (4)
</ul>
<li><a href="#JDWP_ArrayType">ArrayType</a> Command Set (4)
<ul>
        <li><a href="#JDWP_ArrayType_NewInstance">NewInstance</a> (1)
</ul>
<li><a href="#JDWP_InterfaceType">InterfaceType</a> Command Set (5)
<ul>
        <li><a href="#JDWP_InterfaceType_InvokeMethod">InvokeMethod</a> (1)
</ul>
<li><a href="#JDWP_Method">Method</a> Command Set (6)
<ul>
        <li><a href="#JDWP_Method_LineTable">LineTable</a> (1)
        <li><a href="#JDWP_Method_VariableTable">VariableTable</a> (2)
        <li><a href="#JDWP_Method_Bytecodes">Bytecodes</a> (3)
        <li><a href="#JDWP_Method_IsObsolete">IsObsolete</a> (4)
        <li><a href="#JDWP_Method_VariableTableWithGeneric">VariableTableWithGeneric</a> (5)
</ul>
<li><a href="#JDWP_Field">Field</a> Command Set (8)
<li><a href="#JDWP_ObjectReference">ObjectReference</a> Command Set (9)
<ul>
        <li><a href="#JDWP_ObjectReference_ReferenceType">ReferenceType</a> (1)
        <li><a href="#JDWP_ObjectReference_GetValues">GetValues</a> (2)
        <li><a href="#JDWP_ObjectReference_SetValues">SetValues</a> (3)
        <li><a href="#JDWP_ObjectReference_MonitorInfo">MonitorInfo</a> (5)
        <li><a href="#JDWP_ObjectReference_InvokeMethod">InvokeMethod</a> (6)
        <li><a href="#JDWP_ObjectReference_DisableCollection">DisableCollection</a> (7)
        <li><a href="#JDWP_ObjectReference_EnableCollection">EnableCollection</a> (8)
        <li><a href="#JDWP_ObjectReference_IsCollected">IsCollected</a> (9)
        <li><a href="#JDWP_ObjectReference_ReferringObjects">ReferringObjects</a> (10)
</ul>
<li><a href="#JDWP_StringReference">StringReference</a> Command Set (10)
<ul>
        <li><a href="#JDWP_StringReference_Value">Value</a> (1)
</ul>
<li><a href="#JDWP_ThreadReference">ThreadReference</a> Command Set (11)
<ul>
        <li><a href="#JDWP_ThreadReference_Name">Name</a> (1)
        <li><a href="#JDWP_ThreadReference_Suspend">Suspend</a> (2)
        <li><a href="#JDWP_ThreadReference_Resume">Resume</a> (3)
        <li><a href="#JDWP_ThreadReference_Status">Status</a> (4)
        <li><a href="#JDWP_ThreadReference_ThreadGroup">ThreadGroup</a> (5)
        <li><a href="#JDWP_ThreadReference_Frames">Frames</a> (6)
        <li><a href="#JDWP_ThreadReference_FrameCount">FrameCount</a> (7)
        <li><a href="#JDWP_ThreadReference_OwnedMonitors">OwnedMonitors</a> (8)
        <li><a href="#JDWP_ThreadReference_CurrentContendedMonitor">CurrentContendedMonitor</a> (9)
        <li><a href="#JDWP_ThreadReference_Stop">Stop</a> (10)
        <li><a href="#JDWP_ThreadReference_Interrupt">Interrupt</a> (11)
        <li><a href="#JDWP_ThreadReference_SuspendCount">SuspendCount</a> (12)
        <li><a href="#JDWP_ThreadReference_OwnedMonitorsStackDepthInfo">OwnedMonitorsStackDepthInfo</a> (13)
        <li><a href="#JDWP_ThreadReference_ForceEarlyReturn">ForceEarlyReturn</a> (14)
</ul>
<li><a href="#JDWP_ThreadGroupReference">ThreadGroupReference</a> Command Set (12)
<ul>
        <li><a href="#JDWP_ThreadGroupReference_Name">Name</a> (1)
        <li><a href="#JDWP_ThreadGroupReference_Parent">Parent</a> (2)
        <li><a href="#JDWP_ThreadGroupReference_Children">Children</a> (3)
</ul>
<li><a href="#JDWP_ArrayReference">ArrayReference</a> Command Set (13)
<ul>
        <li><a href="#JDWP_ArrayReference_Length">Length</a> (1)
        <li><a href="#JDWP_ArrayReference_GetValues">GetValues</a> (2)
        <li><a href="#JDWP_ArrayReference_SetValues">SetValues</a> (3)
</ul>
<li><a href="#JDWP_ClassLoaderReference">ClassLoaderReference</a> Command Set (14)
<ul>
        <li><a href="#JDWP_ClassLoaderReference_VisibleClasses">VisibleClasses</a> (1)
</ul>
<li><a href="#JDWP_EventRequest">EventRequest</a> Command Set (15)
<ul>
        <li><a href="#JDWP_EventRequest_Set">Set</a> (1)
        <li><a href="#JDWP_EventRequest_Clear">Clear</a> (2)
        <li><a href="#JDWP_EventRequest_ClearAllBreakpoints">ClearAllBreakpoints</a> (3)
</ul>
<li><a href="#JDWP_StackFrame">StackFrame</a> Command Set (16)
<ul>
        <li><a href="#JDWP_StackFrame_GetValues">GetValues</a> (1)
        <li><a href="#JDWP_StackFrame_SetValues">SetValues</a> (2)
        <li><a href="#JDWP_StackFrame_ThisObject">ThisObject</a> (3)
        <li><a href="#JDWP_StackFrame_PopFrames">PopFrames</a> (4)
</ul>
<li><a href="#JDWP_ClassObjectReference">ClassObjectReference</a> Command Set (17)
<ul>
        <li><a href="#JDWP_ClassObjectReference_ReflectedType">ReflectedType</a> (1)
</ul>
<li><a href="#JDWP_ModuleReference">ModuleReference</a> Command Set (18)
<ul>
        <li><a href="#JDWP_ModuleReference_Name">Name</a> (1)
        <li><a href="#JDWP_ModuleReference_ClassLoader">ClassLoader</a> (2)
</ul>
<li><a href="#JDWP_Event">Event</a> Command Set (64)
<ul>
        <li><a href="#JDWP_Event_Composite">Composite</a> (100)
</ul>
<li><a href="#JDWP_Error">Error</a> Constants
<li><a href="#JDWP_EventKind">EventKind</a> Constants
<li><a href="#JDWP_ThreadStatus">ThreadStatus</a> Constants
<li><a href="#JDWP_SuspendStatus">SuspendStatus</a> Constants
<li><a href="#JDWP_ClassStatus">ClassStatus</a> Constants
<li><a href="#JDWP_TypeTag">TypeTag</a> Constants
<li><a href="#JDWP_Tag">Tag</a> Constants
<li><a href="#JDWP_StepDepth">StepDepth</a> Constants
<li><a href="#JDWP_StepSize">StepSize</a> Constants
<li><a href="#JDWP_SuspendPolicy">SuspendPolicy</a> Constants
<li><a href="#JDWP_InvokeOptions">InvokeOptions</a> Constants
</ul>
</nav>
<main>
<h2 id="JDWP_VirtualMachine">VirtualMachine Command Set (1)</h2>

<h3 id="JDWP_VirtualMachine_Version">Version Command (1)</h3>
Returns the JDWP version implemented by the target VM. The version string format is implementation dependent. 
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>string
<th scope="row"><i>description</i>
<td>Text information on the VM version&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>jdwpMajor</i>
<td>Major JDWP Version number&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>jdwpMinor</i>
<td>Minor JDWP Version number&nbsp;
</tr>
<tr>
<td>string
<th scope="row"><i>vmVersion</i>
<td>Target VM JRE version, as in the java.version property&nbsp;
</tr>
<tr>
<td>string
<th scope="row"><i>vmName</i>
<td>Target VM name, as in the java.vm.name property&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_VirtualMachine_ClassesBySignature">ClassesBySignature Command (2)</h3>
Returns reference types for all the classes loaded by the target VM which match the given signature. Multple reference types will be returned if two or more class loaders have loaded a class of the same name. The search is confined to loaded classes only; no attempt is made to load a class of the given signature. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>string
<th scope="row"><i>signature</i>
<td>JNI signature of the class to find (for example, "Ljava/lang/String;"). &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>classes</i>
<td>Number of reference types that follow.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>classes</i> times:
</tr>
<tr>
<td><div class="indent1">byte</div>
<th scope="row"><i>refTypeTag</i>
<td><a href="#JDWP_TypeTag">Kind</a> of following reference type. &nbsp;
</tr>
<tr>
<td><div class="indent1">referenceTypeID</div>
<th scope="row"><i>typeID</i>
<td>Matching loaded reference type&nbsp;
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>status</i>
<td>The current class <a href="#JDWP_ClassStatus">status.</a> &nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_VirtualMachine_AllClasses">AllClasses Command (3)</h3>
Returns reference types for all classes currently loaded by the target VM. See <a href="../jvmti.html#GetLoadedClasses">JVM TI GetLoadedClasses</a>.
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>classes</i>
<td>Number of reference types that follow.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>classes</i> times:
</tr>
<tr>
<td><div class="indent1">byte</div>
<th scope="row"><i>refTypeTag</i>
<td><a href="#JDWP_TypeTag">Kind</a> of following reference type. &nbsp;
</tr>
<tr>
<td><div class="indent1">referenceTypeID</div>
<th scope="row"><i>typeID</i>
<td>Loaded reference type&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>signature</i>
<td>The JNI signature of the loaded reference type&nbsp;
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>status</i>
<td>The current class <a href="#JDWP_ClassStatus">status.</a> &nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_VirtualMachine_AllThreads">AllThreads Command (4)</h3>
Returns all threads currently running in the target VM . The returned list contains threads created through java.lang.Thread, all native threads attached to the target VM through JNI, and system threads created by the target VM. Threads that have not yet been started and threads that have completed their execution are not included in the returned list. 
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>threads</i>
<td>Number of threads that follow.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>threads</i> times:
</tr>
<tr>
<td><div class="indent1">threadID</div>
<th scope="row"><i>thread</i>
<td>A running thread&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_VirtualMachine_TopLevelThreadGroups">TopLevelThreadGroups Command (5)</h3>
Returns all thread groups that do not have a parent. This command may be used as the first step in building a tree (or trees) of the existing thread groups.
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>groups</i>
<td>Number of thread groups that follow.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>groups</i> times:
</tr>
<tr>
<td><div class="indent1">threadGroupID</div>
<th scope="row"><i>group</i>
<td>A top level thread group&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_VirtualMachine_Dispose">Dispose Command (6)</h3>
Invalidates this virtual machine mirror. The communication channel to the target VM is closed, and the target VM prepares to accept another subsequent connection from this debugger or another debugger, including the following tasks: <ul><li>All event requests are cancelled. <li>All threads suspended by the thread-level <a href="#JDWP_ThreadReference_Suspend">suspend</a> command or the VM-level <a href="#JDWP_VirtualMachine_Suspend">suspend</a> command are resumed as many times as necessary for them to run. <li>Garbage collection is re-enabled in all cases where it was <a href="#JDWP_ObjectReference_DisableCollection">disabled</a> </ul>Any current method invocations executing in the target VM are continued after the disconnection. Upon completion of any such method invocation, the invoking thread continues from the location where it was originally stopped. <p>Resources originating in  this VirtualMachine (ObjectReferences, ReferenceTypes, etc.) will become invalid. 
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd>(None)
</dd></dl>
<h3 id="JDWP_VirtualMachine_IDSizes">IDSizes Command (7)</h3>
Returns the sizes of variably-sized data types in the target VM.The returned values indicate the number of bytes used by the identifiers in command and reply packets.
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>fieldIDSize</i>
<td>fieldID size in bytes &nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>methodIDSize</i>
<td>methodID size in bytes &nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>objectIDSize</i>
<td>objectID size in bytes &nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>referenceTypeIDSize</i>
<td>referenceTypeID size in bytes &nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>frameIDSize</i>
<td>frameID size in bytes &nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_VirtualMachine_Suspend">Suspend Command (8)</h3>
Suspends the execution of the application running in the target VM. All Java threads currently running will be suspended. <p>Unlike java.lang.Thread.suspend, suspends of both the virtual machine and individual threads are counted. Before a thread will run again, it must be resumed through the <a href="#JDWP_VirtualMachine_Resume">VM-level resume</a> command or the <a href="#JDWP_ThreadReference_Resume">thread-level resume</a> command the same number of times it has been suspended. 
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_VirtualMachine_Resume">Resume Command (9)</h3>
Resumes execution of the application after the suspend command or an event has stopped it. Suspensions of the Virtual Machine and individual threads are counted. If a particular thread is suspended n times, it must resumed n times before it will continue. 
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd>(None)
</dd></dl>
<h3 id="JDWP_VirtualMachine_Exit">Exit Command (10)</h3>
Terminates the target VM with the given exit code. On some platforms, the exit code might be truncated, for example, to the low order 8 bits. All ids previously returned from the target VM become invalid. Threads running in the VM are abruptly terminated. A thread death exception is not thrown and finally blocks are not run.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>exitCode</i>
<td>the exit code&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd>(None)
</dd></dl>
<h3 id="JDWP_VirtualMachine_CreateString">CreateString Command (11)</h3>
Creates a new string object in the target VM and returns its id. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>string
<th scope="row"><i>utf</i>
<td>UTF-8 characters to use in the created string. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>stringID
<th scope="row"><i>stringObject</i>
<td>Created string (instance of java.lang.String) &nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_VirtualMachine_Capabilities">Capabilities Command (12)</h3>
Retrieve this VM's capabilities. The capabilities are returned as booleans, each indicating the presence or absence of a capability. The commands associated with each capability will return the NOT_IMPLEMENTED error if the cabability is not available.
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>boolean
<th scope="row"><i>canWatchFieldModification</i>
<td>Can the VM watch field modification, and therefore can it send the Modification Watchpoint Event?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canWatchFieldAccess</i>
<td>Can the VM watch field access, and therefore can it send the Access Watchpoint Event?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canGetBytecodes</i>
<td>Can the VM get the bytecodes of a given method? &nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canGetSyntheticAttribute</i>
<td>Can the VM determine whether a field or method is synthetic? (that is, can the VM determine if the method or the field was invented by the compiler?) &nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canGetOwnedMonitorInfo</i>
<td>Can the VM get the owned monitors infornation for a thread?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canGetCurrentContendedMonitor</i>
<td>Can the VM get the current contended monitor of a thread?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canGetMonitorInfo</i>
<td>Can the VM get the monitor information for a given object? &nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_VirtualMachine_ClassPaths">ClassPaths Command (13)</h3>
Retrieve the classpath and bootclasspath of the target VM. If the classpath is not defined, returns an empty list. If the bootclasspath is not defined returns an empty list.
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>string
<th scope="row"><i>baseDir</i>
<td>Base directory used to resolve relative paths in either of the following lists.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>classpaths</i>
<td>Number of paths in classpath.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>classpaths</i> times:
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>path</i>
<td>One component of classpath&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>bootclasspaths</i>
<td>Number of paths in bootclasspath.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>bootclasspaths</i> times:
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>path</i>
<td>One component of bootclasspath&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_VirtualMachine_DisposeObjects">DisposeObjects Command (14)</h3>
Releases a list of object IDs. For each object in the list, the following applies. The count of references held by the back-end (the reference count) will be decremented by refCnt. If thereafter the reference count is less than or equal to zero, the ID is freed. Any back-end resources associated with the freed ID may be freed, and if garbage collection was disabled for the object, it will be re-enabled. The sender of this command promises that no further commands will be sent referencing a freed ID.<p>Use of this command is not required. If it is not sent, resources associated with each ID will be freed by the back-end at some time after the corresponding object is garbage collected. It is most useful to use this command to reduce the load on the back-end if a very large number of objects has been retrieved from the back-end (a large array, for example) but may not be garbage collected any time soon. <p>IDs may be re-used by the back-end after they have been freed with this command.This description assumes reference counting, a back-end may use any implementation which operates equivalently. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>requests</i>
<td>Number of object dispose requests that follow&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>requests</i> times:
</tr>
<tr>
<td><div class="indent1">objectID</div>
<th scope="row"><i>object</i>
<td>The object ID&nbsp;
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>refCnt</i>
<td>The number of times this object ID has been part of a packet received from the back-end. An accurate count prevents the object ID from being freed on the back-end if it is part of an incoming packet, not yet handled by the front-end.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd>(None)
</dd></dl>
<h3 id="JDWP_VirtualMachine_HoldEvents">HoldEvents Command (15)</h3>
Tells the target VM to stop sending events. Events are not discarded; they are held until a subsequent ReleaseEvents command is sent. This command is useful to control the number of events sent to the debugger VM in situations where very large numbers of events are generated. While events are held by the debugger back-end, application execution may be frozen by the debugger back-end to prevent buffer overflows on the back end.Responses to commands are never held and are not affected by thiscommand. If events are already being held, this command is ignored.
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd>(None)
</dd></dl>
<h3 id="JDWP_VirtualMachine_ReleaseEvents">ReleaseEvents Command (16)</h3>
Tells the target VM to continue sending events. This command is used to restore normal activity after a HoldEvents command. If there is no current HoldEvents command in effect, this command is ignored.
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd>(None)
</dd></dl>
<h3 id="JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew Command (17)</h3>
Retrieve all of this VM's capabilities. The capabilities are returned as booleans, each indicating the presence or absence of a capability. The commands associated with each capability will return the NOT_IMPLEMENTED error if the cabability is not available.Since JDWP version 1.4.
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>boolean
<th scope="row"><i>canWatchFieldModification</i>
<td>Can the VM watch field modification, and therefore can it send the Modification Watchpoint Event?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canWatchFieldAccess</i>
<td>Can the VM watch field access, and therefore can it send the Access Watchpoint Event?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canGetBytecodes</i>
<td>Can the VM get the bytecodes of a given method? &nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canGetSyntheticAttribute</i>
<td>Can the VM determine whether a field or method is synthetic? (that is, can the VM determine if the method or the field was invented by the compiler?) &nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canGetOwnedMonitorInfo</i>
<td>Can the VM get the owned monitors infornation for a thread?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canGetCurrentContendedMonitor</i>
<td>Can the VM get the current contended monitor of a thread?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canGetMonitorInfo</i>
<td>Can the VM get the monitor information for a given object? &nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canRedefineClasses</i>
<td>Can the VM redefine classes?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canAddMethod</i>
<td>Can the VM add methods when redefining classes? <p>@Deprecated(since="15") A JVM TI based JDWP back-end will never set this capability to true.&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canUnrestrictedlyRedefineClasses</i>
<td>Can the VM redefine classes in ways that are normally restricted?<p>@Deprecated(since="15") A JVM TI based JDWP back-end will never set this capability to true.&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canPopFrames</i>
<td>Can the VM pop stack frames?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canUseInstanceFilters</i>
<td>Can the VM filter events by specific object?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canGetSourceDebugExtension</i>
<td>Can the VM get the source debug extension?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canRequestVMDeathEvent</i>
<td>Can the VM request VM death events?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canSetDefaultStratum</i>
<td>Can the VM set a default stratum?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canGetInstanceInfo</i>
<td>Can the VM return instances, counts of instances of classes and referring objects?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canRequestMonitorEvents</i>
<td>Can the VM request monitor events?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canGetMonitorFrameInfo</i>
<td>Can the VM get monitors with frame depth info?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canUseSourceNameFilters</i>
<td>Can the VM filter class prepare events by source name?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canGetConstantPool</i>
<td>Can the VM return the constant pool information?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>canForceEarlyReturn</i>
<td>Can the VM force early return from a method?&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>reserved22</i>
<td>Reserved for future capability&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>reserved23</i>
<td>Reserved for future capability&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>reserved24</i>
<td>Reserved for future capability&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>reserved25</i>
<td>Reserved for future capability&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>reserved26</i>
<td>Reserved for future capability&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>reserved27</i>
<td>Reserved for future capability&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>reserved28</i>
<td>Reserved for future capability&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>reserved29</i>
<td>Reserved for future capability&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>reserved30</i>
<td>Reserved for future capability&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>reserved31</i>
<td>Reserved for future capability&nbsp;
</tr>
<tr>
<td>boolean
<th scope="row"><i>reserved32</i>
<td>Reserved for future capability&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_VirtualMachine_RedefineClasses">RedefineClasses Command (18)</h3>
Installs new class definitions. If there are active stack frames in methods of the redefined classes in the target VM then those active frames continue to run the bytecodes of the original method. These methods are considered obsolete - see <a href="#JDWP_Method_IsObsolete">IsObsolete</a>. The methods in the redefined classes will be used for new invokes in the target VM. The original method ID refers to the redefined method. All breakpoints in the redefined classes are cleared.If resetting of stack frames is desired, the <a href="#JDWP_StackFrame_PopFrames">PopFrames</a> command can be used to pop frames with obsolete methods.<p>Unless the canUnrestrictedlyRedefineClasses capability is present the redefinition must follow the restrictions described in <a href="../jvmti.html#RedefineClasses">JVM TI RedefineClasses</a>.<p>Requires canRedefineClasses capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>. <p>@Deprecated(since="15")  In addition to the canRedefineClasses capability, the target VM must have the canAddMethod capability to add methods when redefining classes, or the canUnrestrictedlyRedefineClasses capability to redefine classes in ways that are normally restricted.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>classes</i>
<td>Number of reference types that follow.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>classes</i> times:
</tr>
<tr>
<td><div class="indent1">referenceTypeID</div>
<th scope="row"><i>refType</i>
<td>The reference type.&nbsp;
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>classfile</i>
<td>Number of bytes defining class (below)&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup"><div class="indent1">Repeated <i>classfile</i> times:</div>
</tr>
<tr>
<td><div class="indent2">byte</div>
<th scope="row"><i>classbyte</i>
<td>byte in JVM class file format.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>One of the refTypes is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>One of the refTypes is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_UNSUPPORTED_VERSION">UNSUPPORTED_VERSION</a><td>A class file has a version number not supported by this VM.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS_FORMAT">INVALID_CLASS_FORMAT</a><td>The virtual machine attempted to read a class file and determined that the file is malformed or otherwise cannot be interpreted as a class file.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_CIRCULAR_CLASS_DEFINITION">CIRCULAR_CLASS_DEFINITION</a><td>A circularity has been detected while initializing a class.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_FAILS_VERIFICATION">FAILS_VERIFICATION</a><td>The verifier detected that a class file, though well formed, contained some sort of internal inconsistency or security problem.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NAMES_DONT_MATCH">NAMES_DONT_MATCH</a><td>The class name defined in the new class file is different from the name in the old class object.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>No aspect of this functionality is implemented (CapabilitiesNew.canRedefineClasses is false)&nbsp;</tr>
<tr><th scope="row"><a href="#Error_ADD_METHOD_NOT_IMPLEMENTED">ADD_METHOD_NOT_IMPLEMENTED</a><td>Adding methods has not been implemented.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_SCHEMA_CHANGE_NOT_IMPLEMENTED">SCHEMA_CHANGE_NOT_IMPLEMENTED</a><td>Schema change has not been implemented.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_HIERARCHY_CHANGE_NOT_IMPLEMENTED">HIERARCHY_CHANGE_NOT_IMPLEMENTED</a><td>A direct superclass is different for the new class version, or the set of directly implemented interfaces is different and canUnrestrictedlyRedefineClasses is false.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_DELETE_METHOD_NOT_IMPLEMENTED">DELETE_METHOD_NOT_IMPLEMENTED</a><td>The new class version does not declare a method declared in the old class version and canUnrestrictedlyRedefineClasses is false.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_CLASS_MODIFIERS_CHANGE_NOT_IMPLEMENTED">CLASS_MODIFIERS_CHANGE_NOT_IMPLEMENTED</a><td>The new class version has different modifiers and canUnrestrictedlyRedefineClasses is false.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED">METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED</a><td>A method in the new class version has different modifiers than its counterpart in the old class version and canUnrestrictedlyRedefineClasses is false.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_CLASS_ATTRIBUTE_CHANGE_NOT_IMPLEMENTED">CLASS_ATTRIBUTE_CHANGE_NOT_IMPLEMENTED</a><td>The new class version has a different NestHost, NestMembers, PermittedSubclasses, or Record class attribute and canUnrestrictedlyRedefineClasses is false.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_VirtualMachine_SetDefaultStratum">SetDefaultStratum Command (19)</h3>
Set the default stratum. Requires canSetDefaultStratum capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>string
<th scope="row"><i>stratumID</i>
<td>default stratum, or empty string to use reference type default.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_VirtualMachine_AllClassesWithGeneric">AllClassesWithGeneric Command (20)</h3>
Returns reference types for all classes currently loaded by the target VM.  Both the JNI signature and the generic signature are returned for each class.  Generic signatures are described in the signature attribute section in <cite>The Java Virtual Machine Specification</cite>. Since JDWP version 1.5.
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>classes</i>
<td>Number of reference types that follow.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>classes</i> times:
</tr>
<tr>
<td><div class="indent1">byte</div>
<th scope="row"><i>refTypeTag</i>
<td><a href="#JDWP_TypeTag">Kind</a> of following reference type. &nbsp;
</tr>
<tr>
<td><div class="indent1">referenceTypeID</div>
<th scope="row"><i>typeID</i>
<td>Loaded reference type&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>signature</i>
<td>The JNI signature of the loaded reference type.&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>genericSignature</i>
<td>The generic signature of the loaded reference type or an empty string if there is none.&nbsp;
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>status</i>
<td>The current class <a href="#JDWP_ClassStatus">status.</a> &nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_VirtualMachine_InstanceCounts">InstanceCounts Command (21)</h3>
Returns the number of instances of each reference type in the input list. Only instances that are reachable for the purposes of garbage collection are counted.  If a reference type is invalid, eg. it has been unloaded, zero is returned for its instance count.<p>Since JDWP version 1.6. Requires canGetInstanceInfo capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>refTypesCount</i>
<td>Number of reference types that follow.    Must be non-negative.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>refTypesCount</i> times:
</tr>
<tr>
<td><div class="indent1">referenceTypeID</div>
<th scope="row"><i>refType</i>
<td>A reference type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>counts</i>
<td>The number of counts that follow.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>counts</i> times:
</tr>
<tr>
<td><div class="indent1">long</div>
<th scope="row"><i>instanceCount</i>
<td>The number of instances for the corresponding reference type in 'Out Data'.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_ILLEGAL_ARGUMENT">ILLEGAL_ARGUMENT</a><td>refTypesCount is less than zero.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_VirtualMachine_AllModules">AllModules Command (22)</h3>
Returns all modules in the target VM.<p>Since JDWP version 9.
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>modules</i>
<td>The number of the modules that follow.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>modules</i> times:
</tr>
<tr>
<td><div class="indent1">moduleID</div>
<th scope="row"><i>module</i>
<td>One of the modules.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_ReferenceType">ReferenceType Command Set (2)</h2>

<h3 id="JDWP_ReferenceType_Signature">Signature Command (1)</h3>
Returns the type signature of a reference type. Type signature formats are the same as specified in <a href="../jvmti.html#GetClassSignature">JVM TI GetClassSignature</a>.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>string
<th scope="row"><i>signature</i>
<td>The JNI signature for the reference type.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_ClassLoader">ClassLoader Command (2)</h3>
Returns the instance of java.lang.ClassLoader which loaded a given reference type. If the reference type was loaded by the system class loader, the returned object ID is null.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>classLoaderID
<th scope="row"><i>classLoader</i>
<td>The class loader for the reference type. &nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_Modifiers">Modifiers Command (3)</h3>
Returns the modifiers (also known as access flags) for a reference type. The returned bit mask contains information on the declaration of the reference type. If the reference type is an array or a primitive class (for example, java.lang.Integer.TYPE), the value of the returned bit mask is undefined.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>modBits</i>
<td>Modifier bits as defined in Chapter 4 of <cite>The Java Virtual Machine Specification</cite>&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_Fields">Fields Command (4)</h3>
Returns information for each field in a reference type. Inherited fields are not included. The field list will include any synthetic fields created by the compiler. Fields are returned in the order they occur in the class file.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>declared</i>
<td>Number of declared fields.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>declared</i> times:
</tr>
<tr>
<td><div class="indent1">fieldID</div>
<th scope="row"><i>fieldID</i>
<td>Field ID.&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>name</i>
<td>Name of field.&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>signature</i>
<td>JNI Signature of field.&nbsp;
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>modBits</i>
<td>The modifier bit flags (also known as access flags) which provide additional information on the  field declaration. Individual flag values are defined in Chapter 4 of <cite>The Java Virtual Machine Specification</cite>. In addition, The <code>0xf0000000</code> bit identifies the field as synthetic, if the synthetic attribute <a href="#JDWP_VirtualMachine_Capabilities">capability</a> is available.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_CLASS_NOT_PREPARED">CLASS_NOT_PREPARED</a><td>Class has been loaded but not yet prepared.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_Methods">Methods Command (5)</h3>
Returns information for each method in a reference type. Inherited methods are not included. The list of methods will include constructors (identified with the name "&lt;init&gt;"), the initialization method (identified with the name "&lt;clinit&gt;") if present, and any synthetic methods created by the compiler. Methods are returned in the order they occur in the class file.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>declared</i>
<td>Number of declared methods.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>declared</i> times:
</tr>
<tr>
<td><div class="indent1">methodID</div>
<th scope="row"><i>methodID</i>
<td>Method ID.&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>name</i>
<td>Name of method.&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>signature</i>
<td>JNI signature of method.&nbsp;
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>modBits</i>
<td>The modifier bit flags (also known as access flags) which provide additional information on the  method declaration. Individual flag values are defined in Chapter 4 of <cite>The Java Virtual Machine Specification</cite>. In addition, The <code>0xf0000000</code> bit identifies the method as synthetic, if the synthetic attribute <a href="#JDWP_VirtualMachine_Capabilities">capability</a> is available.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_CLASS_NOT_PREPARED">CLASS_NOT_PREPARED</a><td>Class has been loaded but not yet prepared.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_GetValues">GetValues Command (6)</h3>
Returns the value of one or more static fields of the reference type. Each field must be member of the reference type or one of its superclasses, superinterfaces, or implemented interfaces. Access control is not enforced; for example, the values of private fields can be obtained.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>fields</i>
<td>The number of values to get&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>fields</i> times:
</tr>
<tr>
<td><div class="indent1">fieldID</div>
<th scope="row"><i>fieldID</i>
<td>A field to get&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>values</i>
<td>The number of values returned, always equal to fields, the number of values to get.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>values</i> times:
</tr>
<tr>
<td><div class="indent1">value</div>
<th scope="row"><i>value</i>
<td>The field value&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_FIELDID">INVALID_FIELDID</a><td>Invalid field.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_SourceFile">SourceFile Command (7)</h3>
Returns the name of source file in which a reference type was declared. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>string
<th scope="row"><i>sourceFile</i>
<td>The source file name. No path information for the file is included&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_ABSENT_INFORMATION">ABSENT_INFORMATION</a><td>The source file attribute is absent.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_NestedTypes">NestedTypes Command (8)</h3>
Returns the classes and interfaces directly nested within this type.Types further nested within those types are not included. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>classes</i>
<td>The number of nested classes and interfaces&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>classes</i> times:
</tr>
<tr>
<td><div class="indent1">byte</div>
<th scope="row"><i>refTypeTag</i>
<td><a href="#JDWP_TypeTag">Kind</a> of following reference type. &nbsp;
</tr>
<tr>
<td><div class="indent1">referenceTypeID</div>
<th scope="row"><i>typeID</i>
<td>The nested class or interface ID.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_Status">Status Command (9)</h3>
Returns the current status of the reference type. The status indicates the extent to which the reference type has been initialized, as described in section 2.1.6 of <cite>The Java Virtual Machine Specification</cite>. If the class is linked the PREPARED and VERIFIED bits in the returned status bits will be set. If the class is initialized the INITIALIZED bit in the returned status bits will be set. If an error occured during initialization then the ERROR bit in the returned status bits will be set. The returned status bits are undefined for array types and for primitive classes (such as java.lang.Integer.TYPE). 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>status</i>
<td><a href="#JDWP_ClassStatus">Status</a> bits:See <a href="#JDWP_ClassStatus">JDWP.ClassStatus</a>&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_Interfaces">Interfaces Command (10)</h3>
Returns the interfaces declared as implemented by this class. Interfaces indirectly implemented (extended by the implemented interface or implemented by a superclass) are not included.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>interfaces</i>
<td>The number of implemented interfaces&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>interfaces</i> times:
</tr>
<tr>
<td><div class="indent1">interfaceID</div>
<th scope="row"><i>interfaceType</i>
<td>implemented interface.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_ClassObject">ClassObject Command (11)</h3>
Returns the class object corresponding to this type. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>classObjectID
<th scope="row"><i>classObject</i>
<td>class object.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_SourceDebugExtension">SourceDebugExtension Command (12)</h3>
Returns the value of the SourceDebugExtension attribute. Since JDWP version 1.4. Requires canGetSourceDebugExtension capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>string
<th scope="row"><i>extension</i>
<td>extension attribute&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_ABSENT_INFORMATION">ABSENT_INFORMATION</a><td>If the extension is not specified.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_SignatureWithGeneric">SignatureWithGeneric Command (13)</h3>
Returns the JNI signature of a reference type along with the generic signature if there is one.  Generic signatures are described in the signature attribute section in <cite>The Java Virtual Machine Specification</cite>. Since JDWP version 1.5.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>string
<th scope="row"><i>signature</i>
<td>The JNI signature for the reference type.&nbsp;
</tr>
<tr>
<td>string
<th scope="row"><i>genericSignature</i>
<td>The generic signature for the reference type or an empty string if there is none.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_FieldsWithGeneric">FieldsWithGeneric Command (14)</h3>
Returns information, including the generic signature if any, for each field in a reference type. Inherited fields are not included. The field list will include any synthetic fields created by the compiler. Fields are returned in the order they occur in the class file.  Generic signatures are described in the signature attribute section in <cite>The Java Virtual Machine Specification</cite>. Since JDWP version 1.5.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>declared</i>
<td>Number of declared fields.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>declared</i> times:
</tr>
<tr>
<td><div class="indent1">fieldID</div>
<th scope="row"><i>fieldID</i>
<td>Field ID.&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>name</i>
<td>The name of the field.&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>signature</i>
<td>The JNI signature of the field.&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>genericSignature</i>
<td>The generic signature of the field, or an empty string if there is none.&nbsp;
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>modBits</i>
<td>The modifier bit flags (also known as access flags) which provide additional information on the  field declaration. Individual flag values are defined in Chapter 4 of <cite>The Java Virtual Machine Specification</cite>. In addition, The <code>0xf0000000</code> bit identifies the field as synthetic, if the synthetic attribute <a href="#JDWP_VirtualMachine_Capabilities">capability</a> is available.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_CLASS_NOT_PREPARED">CLASS_NOT_PREPARED</a><td>Class has been loaded but not yet prepared.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_MethodsWithGeneric">MethodsWithGeneric Command (15)</h3>
Returns information, including the generic signature if any, for each method in a reference type. Inherited methodss are not included. The list of methods will include constructors (identified with the name "&lt;init&gt;"), the initialization method (identified with the name "&lt;clinit&gt;") if present, and any synthetic methods created by the compiler. Methods are returned in the order they occur in the class file.  Generic signatures are described in the signature attribute section in <cite>The Java Virtual Machine Specification</cite>. Since JDWP version 1.5.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>declared</i>
<td>Number of declared methods.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>declared</i> times:
</tr>
<tr>
<td><div class="indent1">methodID</div>
<th scope="row"><i>methodID</i>
<td>Method ID.&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>name</i>
<td>The name of the method.&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>signature</i>
<td>The JNI signature of the method.&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>genericSignature</i>
<td>The generic signature of the method, or an empty string if there is none.&nbsp;
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>modBits</i>
<td>The modifier bit flags (also known as access flags) which provide additional information on the  method declaration. Individual flag values are defined in Chapter 4 of <cite>The Java Virtual Machine Specification</cite>. In addition, The <code>0xf0000000</code> bit identifies the method as synthetic, if the synthetic attribute <a href="#JDWP_VirtualMachine_Capabilities">capability</a> is available.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_CLASS_NOT_PREPARED">CLASS_NOT_PREPARED</a><td>Class has been loaded but not yet prepared.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_Instances">Instances Command (16)</h3>
Returns instances of this reference type. Only instances that are reachable for the purposes of garbage collection are returned. <p>Since JDWP version 1.6. Requires canGetInstanceInfo capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type ID.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>maxInstances</i>
<td>Maximum number of instances to return.  Must be non-negative. If zero, all instances are returned.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>instances</i>
<td>The number of instances that follow.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>instances</i> times:
</tr>
<tr>
<td><div class="indent1">tagged-objectID</div>
<th scope="row"><i>instance</i>
<td>An instance of this reference type.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_ILLEGAL_ARGUMENT">ILLEGAL_ARGUMENT</a><td>maxInstances is less than zero.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_ClassFileVersion">ClassFileVersion Command (17)</h3>
Returns the class file major and minor version numbers, as defined in the class file format of the Java Virtual Machine specification. <p>Since JDWP version 1.6. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The class.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>majorVersion</i>
<td>Major version number&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>minorVersion</i>
<td>Minor version number&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_ABSENT_INFORMATION">ABSENT_INFORMATION</a><td>The class file version information is absent for primitive and array types.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_ConstantPool">ConstantPool Command (18)</h3>
Return the raw bytes of the constant pool in the format of the constant_pool item of the Class File Format in <cite>The Java Virtual Machine Specification</cite>. <p>Since JDWP version 1.6. Requires canGetConstantPool capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The class.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>count</i>
<td>Total number of constant pool entries plus one. This corresponds to the constant_pool_count item of the Class File Format in <cite>The Java Virtual Machine Specification</cite>. &nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>bytes</i>
<td>&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>bytes</i> times:
</tr>
<tr>
<td><div class="indent1">byte</div>
<th scope="row"><i>cpbytes</i>
<td>Raw bytes of constant pool&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>If the target virtual machine does not support the retrieval of constant pool information.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_ABSENT_INFORMATION">ABSENT_INFORMATION</a><td>The Constant Pool information is absent for primitive and array types.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ReferenceType_Module">Module Command (19)</h3>
Returns the module that this reference type belongs to.<p>Since JDWP version 9.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The reference type.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>moduleID
<th scope="row"><i>module</i>
<td>The module this reference type belongs to.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_ClassType">ClassType Command Set (3)</h2>

<h3 id="JDWP_ClassType_Superclass">Superclass Command (1)</h3>
Returns the immediate superclass of a class.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>classID
<th scope="row"><i>clazz</i>
<td>The class type ID.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>classID
<th scope="row"><i>superclass</i>
<td>The superclass (null if the class ID for java.lang.Object is specified).&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>clazz is not the ID of a class.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>clazz is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ClassType_SetValues">SetValues Command (2)</h3>
Sets the value of one or more static fields. Each field must be member of the class type or one of its superclasses, superinterfaces, or implemented interfaces. Access control is not enforced; for example, the values of private fields can be set. Final fields cannot be set.For primitive values, the value's type must match the field's type exactly. For object values, there must exist a widening reference conversion from the value's type to thefield's type and the field's type must be loaded. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>classID
<th scope="row"><i>clazz</i>
<td>The class type ID.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>values</i>
<td>The number of fields to set.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>values</i> times:
</tr>
<tr>
<td><div class="indent1">fieldID</div>
<th scope="row"><i>fieldID</i>
<td>Field to set.&nbsp;
</tr>
<tr>
<td><div class="indent1">untagged-value</div>
<th scope="row"><i>value</i>
<td>Value to put in the field.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>clazz is not the ID of a class.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_CLASS_NOT_PREPARED">CLASS_NOT_PREPARED</a><td>Class has been loaded but not yet prepared.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>clazz is not a known ID or a value of an object field is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_FIELDID">INVALID_FIELDID</a><td>Invalid field.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ClassType_InvokeMethod">InvokeMethod Command (3)</h3>
Invokes a static method. The method must be member of the class type or one of its superclasses. Access control is not enforced; for example, private methods can be invoked.<p>The method invocation will occur in the specified thread. Method invocation can occur only if the specified thread has been suspended by an event. Method invocation is not supported when the target VM has been suspended by the front-end. <p>The specified method is invoked with the arguments in the specified argument list. The method invocation is synchronous; the reply packet is not sent until the invoked method returns in the target VM. The return value (possibly the void value) is included in the reply packet. If the invoked method throws an exception, the exception object ID is set in the reply packet; otherwise, the exception object ID is null. <p>For primitive arguments, the argument value's type must match the argument's type exactly. For object arguments, there must exist a widening reference conversion from the argument value's type to the argument's type and the argument's type must be loaded. <p>By default, all threads in the target VM are resumed while the method is being invoked if they were previously suspended by an event or by command. This is done to prevent the deadlocks that will occur if any of the threads own monitors that will be needed by the invoked method. It is possible that breakpoints or other events might occur during the invocation. Note, however, that this implicit resume acts exactly like the ThreadReference resume command, so if the thread's suspend count is greater than 1, it will remain in a suspended state during the invocation. By default, when the invocation completes, all threads in the target VM are suspended, regardless their state before the invocation. <p>The resumption of other threads during the invoke can be prevented by specifying the INVOKE_SINGLE_THREADED bit flag in the <code>options</code> field; however, there is no protection against or recovery from the deadlocks described above, so this option should be used with great caution. Only the specified thread will be resumed (as described for all threads above). Upon completion of a single threaded invoke, the invoking thread will be suspended once again. Note that any threads started during the single threaded invocation will not be suspended when the invocation completes. <p>If the target VM is disconnected during the invoke (for example, through the VirtualMachine dispose command) the method invocation continues. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>classID
<th scope="row"><i>clazz</i>
<td>The class type ID.&nbsp;
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread in which to invoke.&nbsp;
</tr>
<tr>
<td>methodID
<th scope="row"><i>methodID</i>
<td>The method to invoke.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>arguments</i>
<td>&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>arguments</i> times:
</tr>
<tr>
<td><div class="indent1">value</div>
<th scope="row"><i>arg</i>
<td>The argument value.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>options</i>
<td>Invocation <a href="#JDWP_InvokeOptions">options</a>&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>value
<th scope="row"><i>returnValue</i>
<td>The returned value.&nbsp;
</tr>
<tr>
<td>tagged-objectID
<th scope="row"><i>exception</i>
<td>The thrown exception.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>clazz is not the ID of a class.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>clazz is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_METHODID">INVALID_METHODID</a><td>methodID is not the ID of a static method in this class type or one of its superclasses.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_THREAD_NOT_SUSPENDED">THREAD_NOT_SUSPENDED</a><td>If the specified thread has not been suspended by an event.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ClassType_NewInstance">NewInstance Command (4)</h3>
Creates a new object of this type, invoking the specified constructor. The constructor method ID must be a member of the class type.<p>Instance creation will occur in the specified thread. Instance creation can occur only if the specified thread has been suspended by an event. Method invocation is not supported when the target VM has been suspended by the front-end. <p>The specified constructor is invoked with the arguments in the specified argument list. The constructor invocation is synchronous; the reply packet is not sent until the invoked method returns in the target VM. The return value (possibly the void value) is included in the reply packet. If the constructor throws an exception, the exception object ID is set in the reply packet; otherwise, the exception object ID is null. <p>For primitive arguments, the argument value's type must match the argument's type exactly. For object arguments, there must exist a widening reference conversion from the argument value's type to the argument's type and the argument's type must be loaded. <p>By default, all threads in the target VM are resumed while the method is being invoked if they were previously suspended by an event or by command. This is done to prevent the deadlocks that will occur if any of the threads own monitors that will be needed by the invoked method. It is possible that breakpoints or other events might occur during the invocation. Note, however, that this implicit resume acts exactly like the ThreadReference resume command, so if the thread's suspend count is greater than 1, it will remain in a suspended state during the invocation. By default, when the invocation completes, all threads in the target VM are suspended, regardless their state before the invocation. <p>The resumption of other threads during the invoke can be prevented by specifying the INVOKE_SINGLE_THREADED bit flag in the <code>options</code> field; however, there is no protection against or recovery from the deadlocks described above, so this option should be used with great caution. Only the specified thread will be resumed (as described for all threads above). Upon completion of a single threaded invoke, the invoking thread will be suspended once again. Note that any threads started during the single threaded invocation will not be suspended when the invocation completes. <p>If the target VM is disconnected during the invoke (for example, through the VirtualMachine dispose command) the method invocation continues. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>classID
<th scope="row"><i>clazz</i>
<td>The class type ID.&nbsp;
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread in which to invoke the constructor.&nbsp;
</tr>
<tr>
<td>methodID
<th scope="row"><i>methodID</i>
<td>The constructor to invoke.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>arguments</i>
<td>&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>arguments</i> times:
</tr>
<tr>
<td><div class="indent1">value</div>
<th scope="row"><i>arg</i>
<td>The argument value.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>options</i>
<td>Constructor invocation <a href="#JDWP_InvokeOptions">options</a>&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>tagged-objectID
<th scope="row"><i>newObject</i>
<td>The newly created object, or null if the constructor threw an exception.&nbsp;
</tr>
<tr>
<td>tagged-objectID
<th scope="row"><i>exception</i>
<td>The thrown exception, if any; otherwise, null.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>clazz is not the ID of a class.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>clazz is not a known ID or a value of an object parameter is not a known ID..&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_METHODID">INVALID_METHODID</a><td>methodID is not the ID of a method.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_THREAD_NOT_SUSPENDED">THREAD_NOT_SUSPENDED</a><td>If the specified thread has not been suspended by an event.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_ArrayType">ArrayType Command Set (4)</h2>

<h3 id="JDWP_ArrayType_NewInstance">NewInstance Command (1)</h3>
Creates a new array object of this type with a given length.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>arrayTypeID
<th scope="row"><i>arrType</i>
<td>The array type of the new instance.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>length</i>
<td>The length of the array.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>tagged-objectID
<th scope="row"><i>newArray</i>
<td>The newly created array object. &nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_ARRAY">INVALID_ARRAY</a><td>The array is invalid.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_InterfaceType">InterfaceType Command Set (5)</h2>

<h3 id="JDWP_InterfaceType_InvokeMethod">InvokeMethod Command (1)</h3>
Invokes a static method. The method must not be a static initializer. The method must be a member of the interface type. <p>Since JDWP version 1.8 <p>The method invocation will occur in the specified thread. Method invocation can occur only if the specified thread has been suspended by an event. Method invocation is not supported when the target VM has been suspended by the front-end. <p>The specified method is invoked with the arguments in the specified argument list. The method invocation is synchronous; the reply packet is not sent until the invoked method returns in the target VM. The return value (possibly the void value) is included in the reply packet. If the invoked method throws an exception, the exception object ID is set in the reply packet; otherwise, the exception object ID is null. <p>For primitive arguments, the argument value's type must match the argument's type exactly. For object arguments, there must exist a widening reference conversion from the argument value's type to the argument's type and the argument's type must be loaded. <p>By default, all threads in the target VM are resumed while the method is being invoked if they were previously suspended by an event or by a command. This is done to prevent the deadlocks that will occur if any of the threads own monitors that will be needed by the invoked method. It is possible that breakpoints or other events might occur during the invocation. Note, however, that this implicit resume acts exactly like the ThreadReference resume command, so if the thread's suspend count is greater than 1, it will remain in a suspended state during the invocation. By default, when the invocation completes, all threads in the target VM are suspended, regardless their state before the invocation. <p>The resumption of other threads during the invoke can be prevented by specifying the INVOKE_SINGLE_THREADED bit flag in the <code>options</code> field; however, there is no protection against or recovery from the deadlocks described above, so this option should be used with great caution. Only the specified thread will be resumed (as described for all threads above). Upon completion of a single threaded invoke, the invoking thread will be suspended once again. Note that any threads started during the single threaded invocation will not be suspended when the invocation completes. <p>If the target VM is disconnected during the invoke (for example, through the VirtualMachine dispose command) the method invocation continues. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>interfaceID
<th scope="row"><i>clazz</i>
<td>The interface type ID.&nbsp;
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread in which to invoke.&nbsp;
</tr>
<tr>
<td>methodID
<th scope="row"><i>methodID</i>
<td>The method to invoke.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>arguments</i>
<td>&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>arguments</i> times:
</tr>
<tr>
<td><div class="indent1">value</div>
<th scope="row"><i>arg</i>
<td>The argument value.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>options</i>
<td>Invocation <a href="#JDWP_InvokeOptions">options</a>&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>value
<th scope="row"><i>returnValue</i>
<td>The returned value.&nbsp;
</tr>
<tr>
<td>tagged-objectID
<th scope="row"><i>exception</i>
<td>The thrown exception.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>clazz is not the ID of an interface.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>clazz is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_METHODID">INVALID_METHODID</a><td>methodID is not the ID of a static method in this interface type or is the ID of a static initializer.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_THREAD_NOT_SUSPENDED">THREAD_NOT_SUSPENDED</a><td>If the specified thread has not been suspended by an event.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_Method">Method Command Set (6)</h2>

<h3 id="JDWP_Method_LineTable">LineTable Command (1)</h3>
Returns line number information for the method, if present. The line table maps source line numbers to the initial code index of the line. The line table is ordered by code index (from lowest to highest). The line number information is constant unless a new class definition is installed using <a href="#JDWP_VirtualMachine_RedefineClasses">RedefineClasses</a>.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The class.&nbsp;
</tr>
<tr>
<td>methodID
<th scope="row"><i>methodID</i>
<td>The method.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>long
<th scope="row"><i>start</i>
<td>Lowest valid code index for the method, >=0, or -1 if the method is native &nbsp;
</tr>
<tr>
<td>long
<th scope="row"><i>end</i>
<td>Highest valid code index for the method, >=0, or -1 if the method is native&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>lines</i>
<td>The number of entries in the line table for this method.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>lines</i> times:
</tr>
<tr>
<td><div class="indent1">long</div>
<th scope="row"><i>lineCodeIndex</i>
<td>Initial code index of the line, start &lt;= lineCodeIndex &lt; end&nbsp;
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>lineNumber</i>
<td>Line number.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_METHODID">INVALID_METHODID</a><td>methodID is not the ID of a method.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_Method_VariableTable">VariableTable Command (2)</h3>
Returns variable information for the method. The variable table includes arguments and locals declared within the method. For instance methods, the "this" reference is included in the table. Also, synthetic variables may be present. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The class.&nbsp;
</tr>
<tr>
<td>methodID
<th scope="row"><i>methodID</i>
<td>The method.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>argCnt</i>
<td>The number of words in the frame used by arguments. Eight-byte arguments use two words; all others use one. &nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>slots</i>
<td>The number of variables.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>slots</i> times:
</tr>
<tr>
<td><div class="indent1">long</div>
<th scope="row"><i>codeIndex</i>
<td>First code index at which the variable is visible (unsigned). Used in conjunction with <code>length</code>. The variable can be get or set only when the current <code>codeIndex</code> &lt;= current frame code index &lt; <code>codeIndex + length</code> &nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>name</i>
<td>The variable's name.&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>signature</i>
<td>The variable type's JNI signature.&nbsp;
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>length</i>
<td>Unsigned value used in conjunction with <code>codeIndex</code>. The variable can be get or set only when the current <code>codeIndex</code> &lt;= current frame code index &lt; <code>code index + length</code> &nbsp;
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>slot</i>
<td>The local variable's index in its frame&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_METHODID">INVALID_METHODID</a><td>methodID is not the ID of a method.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_ABSENT_INFORMATION">ABSENT_INFORMATION</a><td>there is no variable information for the method.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_Method_Bytecodes">Bytecodes Command (3)</h3>
Retrieve the method's bytecodes as defined in <cite>The Java Virtual Machine Specification</cite>. Requires canGetBytecodes capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The class.&nbsp;
</tr>
<tr>
<td>methodID
<th scope="row"><i>methodID</i>
<td>The method.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>bytes</i>
<td>&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>bytes</i> times:
</tr>
<tr>
<td><div class="indent1">byte</div>
<th scope="row"><i>bytecode</i>
<td>A Java bytecode.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_METHODID">INVALID_METHODID</a><td>methodID is not the ID of a method.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>If the target virtual machine does not support the retrieval of bytecodes.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_Method_IsObsolete">IsObsolete Command (4)</h3>
Determine if this method is obsolete. A method is obsolete if it has been replaced by a non-equivalent method using the <a href="#JDWP_VirtualMachine_RedefineClasses">RedefineClasses</a> command. The original and redefined methods are considered equivalent if their bytecodes are the same except for indices into the constant pool and the referenced constants are equal.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The class.&nbsp;
</tr>
<tr>
<td>methodID
<th scope="row"><i>methodID</i>
<td>The method.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>boolean
<th scope="row"><i>isObsolete</i>
<td>true if this method has been replacedby a non-equivalent method usingthe RedefineClasses command.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_METHODID">INVALID_METHODID</a><td>methodID is not the ID of a method.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>If the target virtual machine does not support this query.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_Method_VariableTableWithGeneric">VariableTableWithGeneric Command (5)</h3>
Returns variable information for the method, including generic signatures for the variables. The variable table includes arguments and locals declared within the method. For instance methods, the "this" reference is included in the table. Also, synthetic variables may be present. Generic signatures are described in the signature attribute section in <cite>The Java Virtual Machine Specification</cite>. Since JDWP version 1.5.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>refType</i>
<td>The class.&nbsp;
</tr>
<tr>
<td>methodID
<th scope="row"><i>methodID</i>
<td>The method.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>argCnt</i>
<td>The number of words in the frame used by arguments. Eight-byte arguments use two words; all others use one. &nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>slots</i>
<td>The number of variables.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>slots</i> times:
</tr>
<tr>
<td><div class="indent1">long</div>
<th scope="row"><i>codeIndex</i>
<td>First code index at which the variable is visible (unsigned). Used in conjunction with <code>length</code>. The variable can be get or set only when the current <code>codeIndex</code> &lt;= current frame code index &lt; <code>codeIndex + length</code> &nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>name</i>
<td>The variable's name.&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>signature</i>
<td>The variable type's JNI signature.&nbsp;
</tr>
<tr>
<td><div class="indent1">string</div>
<th scope="row"><i>genericSignature</i>
<td>The variable type's generic signature or an empty string if there is none.&nbsp;
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>length</i>
<td>Unsigned value used in conjunction with <code>codeIndex</code>. The variable can be get or set only when the current <code>codeIndex</code> &lt;= current frame code index &lt; <code>code index + length</code> &nbsp;
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>slot</i>
<td>The local variable's index in its frame&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>refType is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>refType is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_METHODID">INVALID_METHODID</a><td>methodID is not the ID of a method.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_ABSENT_INFORMATION">ABSENT_INFORMATION</a><td>there is no variable information for the method.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_Field">Field Command Set (8)</h2>

<h2 id="JDWP_ObjectReference">ObjectReference Command Set (9)</h2>

<h3 id="JDWP_ObjectReference_ReferenceType">ReferenceType Command (1)</h3>
Returns the runtime type of the object. The runtime type will be a class or an array. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>objectID
<th scope="row"><i>object</i>
<td>The object ID&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>byte
<th scope="row"><i>refTypeTag</i>
<td><a href="#JDWP_TypeTag">Kind</a> of following reference type. &nbsp;
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>typeID</i>
<td>The runtime reference type.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ObjectReference_GetValues">GetValues Command (2)</h3>
Returns the value of one or more instance fields. Each field must be member of the object's type or one of its superclasses, superinterfaces, or implemented interfaces. Access control is not enforced; for example, the values of private fields can be obtained.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>objectID
<th scope="row"><i>object</i>
<td>The object ID&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>fields</i>
<td>The number of values to get&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>fields</i> times:
</tr>
<tr>
<td><div class="indent1">fieldID</div>
<th scope="row"><i>fieldID</i>
<td>Field to get.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>values</i>
<td>The number of values returned, always equal to 'fields', the number of values to get. Field values are ordered in the reply in the same order as corresponding fieldIDs in the command.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>values</i> times:
</tr>
<tr>
<td><div class="indent1">value</div>
<th scope="row"><i>value</i>
<td>The field value&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_FIELDID">INVALID_FIELDID</a><td>Invalid field.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ObjectReference_SetValues">SetValues Command (3)</h3>
Sets the value of one or more instance fields. Each field must be member of the object's type or one of its superclasses, superinterfaces, or implemented interfaces. Access control is not enforced; for example, the values of private fields can be set. For primitive values, the value's type must match the field's type exactly. For object values, there must be a widening reference conversion from the value's type to thefield's type and the field's type must be loaded. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>objectID
<th scope="row"><i>object</i>
<td>The object ID&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>values</i>
<td>The number of fields to set.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>values</i> times:
</tr>
<tr>
<td><div class="indent1">fieldID</div>
<th scope="row"><i>fieldID</i>
<td>Field to set.&nbsp;
</tr>
<tr>
<td><div class="indent1">untagged-value</div>
<th scope="row"><i>value</i>
<td>Value to put in the field.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_FIELDID">INVALID_FIELDID</a><td>Invalid field.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ObjectReference_MonitorInfo">MonitorInfo Command (5)</h3>
Returns monitor information for an object. All threads int the VM must be suspended.Requires canGetMonitorInfo capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>objectID
<th scope="row"><i>object</i>
<td>The object ID&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>owner</i>
<td>The monitor owner, or null if it is not currently owned.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>entryCount</i>
<td>The number of times the monitor has been entered.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>waiters</i>
<td>The number of threads that are waiting for the monitor 0 if there is no current owner&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>waiters</i> times:
</tr>
<tr>
<td><div class="indent1">threadID</div>
<th scope="row"><i>thread</i>
<td>A thread waiting for this monitor.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ObjectReference_InvokeMethod">InvokeMethod Command (6)</h3>
Invokes a instance method. The method must be member of the object's type or one of its superclasses, superinterfaces, or implemented interfaces. Access control is not enforced; for example, private methods can be invoked.<p>The method invocation will occur in the specified thread. Method invocation can occur only if the specified thread has been suspended by an event. Method invocation is not supported when the target VM has been suspended by the front-end. <p>The specified method is invoked with the arguments in the specified argument list. The method invocation is synchronous; the reply packet is not sent until the invoked method returns in the target VM. The return value (possibly the void value) is included in the reply packet. If the invoked method throws an exception, the exception object ID is set in the reply packet; otherwise, the exception object ID is null. <p>For primitive arguments, the argument value's type must match the argument's type exactly. For object arguments, there must be a widening reference conversion from the argument value's type to the argument's type and the argument's type must be loaded. <p>By default, all threads in the target VM are resumed while the method is being invoked if they were previously suspended by an event or by a command. This is done to prevent the deadlocks that will occur if any of the threads own monitors that will be needed by the invoked method. It is possible that breakpoints or other events might occur during the invocation. Note, however, that this implicit resume acts exactly like the ThreadReference resume command, so if the thread's suspend count is greater than 1, it will remain in a suspended state during the invocation. By default, when the invocation completes, all threads in the target VM are suspended, regardless their state before the invocation. <p>The resumption of other threads during the invoke can be prevented by specifying the INVOKE_SINGLE_THREADED bit flag in the <code>options</code> field; however, there is no protection against or recovery from the deadlocks described above, so this option should be used with great caution. Only the specified thread will be resumed (as described for all threads above). Upon completion of a single threaded invoke, the invoking thread will be suspended once again. Note that any threads started during the single threaded invocation will not be suspended when the invocation completes. <p>If the target VM is disconnected during the invoke (for example, through the VirtualMachine dispose command) the method invocation continues. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>objectID
<th scope="row"><i>object</i>
<td>The object ID&nbsp;
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread in which to invoke.&nbsp;
</tr>
<tr>
<td>classID
<th scope="row"><i>clazz</i>
<td>The class type.&nbsp;
</tr>
<tr>
<td>methodID
<th scope="row"><i>methodID</i>
<td>The method to invoke.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>arguments</i>
<td>The number of arguments.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>arguments</i> times:
</tr>
<tr>
<td><div class="indent1">value</div>
<th scope="row"><i>arg</i>
<td>The argument value.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>options</i>
<td>Invocation <a href="#JDWP_InvokeOptions">options</a>&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>value
<th scope="row"><i>returnValue</i>
<td>The returned value, or null if an exception is thrown.&nbsp;
</tr>
<tr>
<td>tagged-objectID
<th scope="row"><i>exception</i>
<td>The thrown exception, if any.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>clazz is not the ID of a reference type.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_METHODID">INVALID_METHODID</a><td>methodID is not the ID of an instance method in this object's type or one of its superclasses, superinterfaces, or implemented interfaces.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_THREAD_NOT_SUSPENDED">THREAD_NOT_SUSPENDED</a><td>If the specified thread has not been suspended by an event.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ObjectReference_DisableCollection">DisableCollection Command (7)</h3>
Prevents garbage collection for the given object. By default all objects in back-end replies may be collected at any time the target VM is running. A call to this command guarantees that the object will not be collected. The <a href="#JDWP_ObjectReference_EnableCollection">EnableCollection</a> command can be used to allow collection once again. <p>Note that while the target VM is suspended, no garbage collection will occur because all threads are suspended. The typical examination of variables, fields, and arrays during the suspension is safe without explicitly disabling garbage collection. <p>This method should be used sparingly, as it alters the pattern of garbage collection in the target VM and, consequently, may result in application behavior under the debugger that differs from its non-debugged behavior. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>objectID
<th scope="row"><i>object</i>
<td>The object ID&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ObjectReference_EnableCollection">EnableCollection Command (8)</h3>
Permits garbage collection for this object. By default all objects returned by JDWP may become unreachable in the target VM, and hence may be garbage collected. A call to this command is necessary only if garbage collection was previously disabled with the <a href="#JDWP_ObjectReference_DisableCollection">DisableCollection</a> command.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>objectID
<th scope="row"><i>object</i>
<td>The object ID&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ObjectReference_IsCollected">IsCollected Command (9)</h3>
Determines whether an object has been garbage collected in the target VM. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>objectID
<th scope="row"><i>object</i>
<td>The object ID&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>boolean
<th scope="row"><i>isCollected</i>
<td>true if the object has been collected; false otherwise&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ObjectReference_ReferringObjects">ReferringObjects Command (10)</h3>
Returns objects that directly reference this object.  Only objects that are reachable for the purposes of garbage collection are returned. Note that an object can also be referenced in other ways, such as from a local variable in a stack frame, or from a JNI global reference.  Such non-object referrers are not returned by this command. <p>Since JDWP version 1.6. Requires canGetInstanceInfo capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>objectID
<th scope="row"><i>object</i>
<td>The object ID&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>maxReferrers</i>
<td>Maximum number of referring objects to return. Must be non-negative. If zero, all referring objects are returned.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>referringObjects</i>
<td>The number of objects that follow.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>referringObjects</i> times:
</tr>
<tr>
<td><div class="indent1">tagged-objectID</div>
<th scope="row"><i>instance</i>
<td>An object that references this object.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>object is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_ILLEGAL_ARGUMENT">ILLEGAL_ARGUMENT</a><td>maxReferrers is less than zero.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_StringReference">StringReference Command Set (10)</h2>

<h3 id="JDWP_StringReference_Value">Value Command (1)</h3>
Returns the characters contained in the string. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>objectID
<th scope="row"><i>stringObject</i>
<td>The String object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>string
<th scope="row"><i>stringValue</i>
<td>UTF-8 representation of the string value.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_STRING">INVALID_STRING</a><td>The string is invalid.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_ThreadReference">ThreadReference Command Set (11)</h2>

<h3 id="JDWP_ThreadReference_Name">Name Command (1)</h3>
Returns the thread name. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>string
<th scope="row"><i>threadName</i>
<td>The thread name.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>thread is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ThreadReference_Suspend">Suspend Command (2)</h3>
Suspends the thread. <p>Unlike java.lang.Thread.suspend(), suspends of both the virtual machine and individual threads are counted. Before a thread will run again, it must be resumed the same number of times it has been suspended. <p>Suspending single threads with command has the same dangers java.lang.Thread.suspend(). If the suspended thread holds a monitor needed by another running thread, deadlock is possible in the target VM (at least until the suspended thread is resumed again). <p>The suspended thread is guaranteed to remain suspended until resumed through one of the JDI resume methods mentioned above; the application in the target VM cannot resume the suspended thread through {@link java.lang.Thread#resume}. <p>Note that this doesn't change the status of the thread (see the <a href="#JDWP_ThreadReference_Status">ThreadStatus</a> command.) For example, if it was Running, it will still appear running to other threads. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>thread is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ThreadReference_Resume">Resume Command (3)</h3>
Resumes the execution of a given thread. If this thread was not previously suspended by the front-end, calling this command has no effect. Otherwise, the count of pending suspends on this thread is decremented. If it is decremented to 0, the thread will continue to execute. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>thread is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ThreadReference_Status">Status Command (4)</h3>
Returns the current status of a thread. The thread status reply indicates the thread status the last time it was running. the suspend status provides information on the thread's suspension, if any.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>threadStatus</i>
<td>One of the thread status codes See <a href="#JDWP_ThreadStatus">JDWP.ThreadStatus</a>&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>suspendStatus</i>
<td>One of the suspend status codes See <a href="#JDWP_SuspendStatus">JDWP.SuspendStatus</a>&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>thread is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ThreadReference_ThreadGroup">ThreadGroup Command (5)</h3>
Returns the thread group that contains a given thread. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadGroupID
<th scope="row"><i>group</i>
<td>The thread group of this thread. &nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>thread is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ThreadReference_Frames">Frames Command (6)</h3>
Returns the current call stack of a suspended thread. The sequence of frames starts with the currently executing frame, followed by its caller, and so on. The thread must be suspended, and the returned frameID is valid only while the thread is suspended. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread object ID. &nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>startFrame</i>
<td>The index of the first frame to retrieve.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>length</i>
<td>The count of frames to retrieve (-1 means all remaining). &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>frames</i>
<td>The number of frames retreived&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>frames</i> times:
</tr>
<tr>
<td><div class="indent1">frameID</div>
<th scope="row"><i>frameID</i>
<td>The ID of this frame. &nbsp;
</tr>
<tr>
<td><div class="indent1">location</div>
<th scope="row"><i>location</i>
<td>The current location of this frame&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>thread is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ThreadReference_FrameCount">FrameCount Command (7)</h3>
Returns the count of frames on this thread's stack. The thread must be suspended, and the returned count is valid only while the thread is suspended. Returns JDWP.Error.errorThreadNotSuspended if not suspended. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>frameCount</i>
<td>The count of frames on this thread's stack. &nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>thread is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ThreadReference_OwnedMonitors">OwnedMonitors Command (8)</h3>
Returns the objects whose monitors have been entered by this thread. The thread must be suspended, and the returned information is relevant only while the thread is suspended. Requires canGetOwnedMonitorInfo capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>owned</i>
<td>The number of owned monitors&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>owned</i> times:
</tr>
<tr>
<td><div class="indent1">tagged-objectID</div>
<th scope="row"><i>monitor</i>
<td>An owned monitor&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>thread is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ThreadReference_CurrentContendedMonitor">CurrentContendedMonitor Command (9)</h3>
Returns the object, if any, for which this thread is waiting. The thread may be waiting to enter a monitor, or it may be waiting, via the java.lang.Object.wait method, for another thread to invoke the notify method. The thread must be suspended, and the returned information is relevant only while the thread is suspended. Requires canGetCurrentContendedMonitor capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>tagged-objectID
<th scope="row"><i>monitor</i>
<td>The contended monitor, or null if there is no current contended monitor. &nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>thread is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ThreadReference_Stop">Stop Command (10)</h3>
Stops the thread with an asynchronous exception. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread object ID. &nbsp;
</tr>
<tr>
<td>objectID
<th scope="row"><i>throwable</i>
<td>Asynchronous exception. This object must be an instance of java.lang.Throwable or a subclass&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If thread is not a known ID or the asynchronous exception has been garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ThreadReference_Interrupt">Interrupt Command (11)</h3>
Interrupt the thread, as if done by java.lang.Thread.interrupt 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>thread is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ThreadReference_SuspendCount">SuspendCount Command (12)</h3>
Get the suspend count for this thread. The suspend count is the  number of times the thread has been suspended through the thread-level or VM-level suspend commands without a corresponding resume 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>suspendCount</i>
<td>The number of outstanding suspends of this thread. &nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>thread is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ThreadReference_OwnedMonitorsStackDepthInfo">OwnedMonitorsStackDepthInfo Command (13)</h3>
Returns monitor objects owned by the thread, along with stack depth at which the monitor was acquired. Returns stack depth of -1  if the implementation cannot determine the stack depth (e.g., for monitors acquired by JNI MonitorEnter).The thread must be suspended, and the returned information is relevant only while the thread is suspended. Requires canGetMonitorFrameInfo capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>. <p>Since JDWP version 1.6. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>owned</i>
<td>The number of owned monitors&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>owned</i> times:
</tr>
<tr>
<td><div class="indent1">tagged-objectID</div>
<th scope="row"><i>monitor</i>
<td>An owned monitor&nbsp;
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>stack_depth</i>
<td>Stack depth location where monitor was acquired&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>thread is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ThreadReference_ForceEarlyReturn">ForceEarlyReturn Command (14)</h3>
Force a method to return before it reaches a return statement.  <p>The method which will return early is referred to as the called method. The called method is the current method (as defined by the Frames section in <cite>The Java Virtual Machine Specification</cite>) for the specified thread at the time this command is received. <p>The specified thread must be suspended. The return occurs when execution of Java programming language code is resumed on this thread. Between sending this command and resumption of thread execution, the state of the stack is undefined. <p>No further instructions are executed in the called method. Specifically, finally blocks are not executed. Note: this can cause inconsistent states in the application. <p>A lock acquired by calling the called method (if it is a synchronized method) and locks acquired by entering synchronized blocks within the called method are released. Note: this does not apply to JNI locks or java.util.concurrent.locks locks. <p>Events, such as MethodExit, are generated as they would be in a normal return. <p>The called method must be a non-native Java programming language method. Forcing return on a thread with only one frame on the stack causes the thread to exit when resumed. <p>For void methods, the value must be a void value. For methods that return primitive values, the value's type must match the return type exactly.  For object values, there must be a widening reference conversion from the value's type to the return type type and the return type must be loaded. <p>Since JDWP version 1.6. Requires canForceEarlyReturn capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread object ID. &nbsp;
</tr>
<tr>
<td>value
<th scope="row"><i>value</i>
<td>The value to return. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>Thread or value is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_THREAD_NOT_SUSPENDED">THREAD_NOT_SUSPENDED</a><td>If the specified thread has not been suspended by an event.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_THREAD_NOT_ALIVE">THREAD_NOT_ALIVE</a><td>Thread has not been started or is now dead.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_OPAQUE_FRAME">OPAQUE_FRAME</a><td>Attempted to return early from a frame corresponding to a native method. Or the implementation is unable to provide this functionality on this frame.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NO_MORE_FRAMES">NO_MORE_FRAMES</a><td>There are no more Java or JNI frames on the call stack.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_TYPE_MISMATCH">TYPE_MISMATCH</a><td>Value is not an appropriate type for the return value of the method.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_ThreadGroupReference">ThreadGroupReference Command Set (12)</h2>

<h3 id="JDWP_ThreadGroupReference_Name">Name Command (1)</h3>
Returns the thread group name. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadGroupID
<th scope="row"><i>group</i>
<td>The thread group object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>string
<th scope="row"><i>groupName</i>
<td>The thread group's name.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD_GROUP">INVALID_THREAD_GROUP</a><td>Thread group invalid.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>group is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ThreadGroupReference_Parent">Parent Command (2)</h3>
Returns the thread group, if any, which contains a given thread group. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadGroupID
<th scope="row"><i>group</i>
<td>The thread group object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadGroupID
<th scope="row"><i>parentGroup</i>
<td>The parent thread group object, or null if the given thread group is a top-level thread group&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD_GROUP">INVALID_THREAD_GROUP</a><td>Thread group invalid.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>group is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ThreadGroupReference_Children">Children Command (3)</h3>
Returns the live threads and active thread groups directly contained in this thread group. Threads and thread groups in child thread groups are not included. A thread is alive if it has been started and has not yet been stopped. See <a href=../../api/java.base/java/lang/ThreadGroup.html>java.lang.ThreadGroup </a>for information about active ThreadGroups.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadGroupID
<th scope="row"><i>group</i>
<td>The thread group object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>childThreads</i>
<td>The number of live child threads. &nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>childThreads</i> times:
</tr>
<tr>
<td><div class="indent1">threadID</div>
<th scope="row"><i>childThread</i>
<td>A direct child thread ID. &nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>childGroups</i>
<td>The number of active child thread groups. &nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>childGroups</i> times:
</tr>
<tr>
<td><div class="indent1">threadGroupID</div>
<th scope="row"><i>childGroup</i>
<td>A direct child thread group ID. &nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD_GROUP">INVALID_THREAD_GROUP</a><td>Thread group invalid.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>group is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_ArrayReference">ArrayReference Command Set (13)</h2>

<h3 id="JDWP_ArrayReference_Length">Length Command (1)</h3>
Returns the number of components in a given array. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>arrayID
<th scope="row"><i>arrayObject</i>
<td>The array object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>arrayLength</i>
<td>The length of the array.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>arrayObject is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_ARRAY">INVALID_ARRAY</a><td>The array is invalid.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ArrayReference_GetValues">GetValues Command (2)</h3>
Returns a range of array components. The specified range must be within the bounds of the array. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>arrayID
<th scope="row"><i>arrayObject</i>
<td>The array object ID. &nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>firstIndex</i>
<td>The first index to retrieve.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>length</i>
<td>The number of components to retrieve.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>arrayregion
<th scope="row"><i>values</i>
<td>The retrieved values. If the values are objects, they are tagged-values; otherwise, they are untagged-values&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_LENGTH">INVALID_LENGTH</a><td>If index is beyond the end of this array.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>arrayObject is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_ARRAY">INVALID_ARRAY</a><td>The array is invalid.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ArrayReference_SetValues">SetValues Command (3)</h3>
Sets a range of array components. The specified range must be within the bounds of the array. For primitive values, each value's type must match the array component type exactly. For object values, there must be a widening reference conversion from the value's type to thearray component type and the array component type must be loaded. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>arrayID
<th scope="row"><i>arrayObject</i>
<td>The array object ID. &nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>firstIndex</i>
<td>The first index to set.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>values</i>
<td>The number of values to set. &nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>values</i> times:
</tr>
<tr>
<td><div class="indent1">untagged-value</div>
<th scope="row"><i>value</i>
<td>A value to set. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_LENGTH">INVALID_LENGTH</a><td>If index is beyond the end of this array.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>arrayObject is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_ARRAY">INVALID_ARRAY</a><td>The array is invalid.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_ClassLoaderReference">ClassLoaderReference Command Set (14)</h2>

<h3 id="JDWP_ClassLoaderReference_VisibleClasses">VisibleClasses Command (1)</h3>
Returns a list of all classes which this class loader can find by name via <code>ClassLoader::loadClass</code>, <code>Class::forName</code> and bytecode linkage. That is, all classes for which this class loader has been recorded as an <i>initiating</i> loader. The list contains each reference type created by this loader and any types for which loading was delegated by this class loader to another class loader. <p>The visible class list has useful properties with respect to the type namespace. A particular type name will occur at most once in the list. Each field or variable declared with that type name in a class defined by this class loader must be resolved to that single type. <p>No ordering of the returned list is guaranteed. <p>See <a href="../jvmti.html#GetClassLoaderClasses">JVM TI GetClassLoaderClasses</a>. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>classLoaderID
<th scope="row"><i>classLoaderObject</i>
<td>The class loader object ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>classes</i>
<td>The number of visible classes. &nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>classes</i> times:
</tr>
<tr>
<td><div class="indent1">byte</div>
<th scope="row"><i>refTypeTag</i>
<td><a href="#JDWP_TypeTag">Kind</a> of following reference type. &nbsp;
</tr>
<tr>
<td><div class="indent1">referenceTypeID</div>
<th scope="row"><i>typeID</i>
<td>A class visible to this class loader.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS_LOADER">INVALID_CLASS_LOADER</a><td>The class loader is invalid.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_EventRequest">EventRequest Command Set (15)</h2>

<h3 id="JDWP_EventRequest_Set">Set Command (1)</h3>
Set an event request. When the event described by this request occurs, an <a href="#JDWP_Event">event</a> is sent from the target VM. If an event occurs that has not been requested then it is not sent from the target VM. The two exceptions to this are the VM Start Event and the VM Death Event which are automatically generated events - see <a href="#JDWP_Event_Composite">Composite Command</a> for further details.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>byte
<th scope="row"><i>eventKind</i>
<td>Event kind to request. See <a href="#JDWP_EventKind">JDWP.EventKind</a> for a complete list of events that can be requested; some events may require a capability in order to be requested. &nbsp;
</tr>
<tr>
<td>byte
<th scope="row"><i>suspendPolicy</i>
<td>What threads are suspended when this event occurs? Note that the order of events and command replies accurately reflects the order in which threads are suspended and resumed. For example, if a <a href="#JDWP_VirtualMachine_Resume">VM-wide resume</a> is processed before an event occurs which suspends the VM, the reply to the resume command will be written to the transport before the suspending event.&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>modifiers</i>
<td>Constraints used to control the number of generated events.Modifiers specify additional tests that an event must satisfy before it is placed in the event queue. Events are filtered by applying each modifier to an event in the order they are specified in this collection Only events that satisfy all modifiers are reported. A value of 0 means there are no modifiers in the request.<p>Filtering can improve debugger performance dramatically byreducing the amount of event traffic sent from the target VM to the debugger VM. &nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>modifiers</i> times:
</tr>
<tr>
<td><div class="indent1">byte</div>
<th scope="row"><i>modKind</i>
<td>Modifier kind&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case Count - if <i>modKind</i> is 1:</div>
<td>Limit the requested event to be reported at most once after a given number of occurrences.  The event is not reported the first <code>count - 1</code> times this filter is reached. To request a one-off event, call this method with a count of 1. <p>Once the count reaches 0, any subsequent filters in this request are applied. If none of those filters cause the event to be suppressed, the event is reported. Otherwise, the event is not reported. In either case subsequent events are never reported for this request. This modifier can be used with any event kind.&nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>count</i>
<td>Count before event. One for one-off.&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case Conditional - if <i>modKind</i> is 2:</div>
<td>Conditional on expression&nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>exprID</i>
<td>For the future&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case ThreadOnly - if <i>modKind</i> is 3:</div>
<td>Restricts reported events to those in the given thread. This modifier can be used with any event kind except for class unload. &nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Required thread&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case ClassOnly - if <i>modKind</i> is 4:</div>
<td>For class prepare events, restricts the events generated by this request to be the preparation of the given reference type and any subtypes. For monitor wait and waited events, restricts the events generated by this request to those whose monitor object is of the given reference type or any of its subtypes. For other events, restricts the events generated by this request to those whose location is in the given reference type or any of its subtypes. An event will be generated for any location in a reference type that can be safely cast to the given reference type. This modifier can be used with any event kind except class unload, thread start, and thread end. &nbsp;
</tr>
<tr>
<td><div class="indent2">referenceTypeID</div>
<th scope="row"><i>clazz</i>
<td>Required class&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case ClassMatch - if <i>modKind</i> is 5:</div>
<td>Restricts reported events to those for classes whose name matches the given restricted regular expression. For class prepare events, the prepared class name is matched. For class unload events, the unloaded class name is matched. For monitor wait and waited events, the name of the class of the monitor object is matched. For other events, the class name of the event's location is matched. This modifier can be used with any event kind except thread start and thread end. &nbsp;
</tr>
<tr>
<td><div class="indent2">string</div>
<th scope="row"><i>classPattern</i>
<td>Required class pattern. Matches are limited to exact matches of the given class pattern and matches of patterns that begin or end with '*'; for example, "*.Foo" or "java.*". &nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case ClassExclude - if <i>modKind</i> is 6:</div>
<td>Restricts reported events to those for classes whose name does not match the given restricted regular expression. For class prepare events, the prepared class name is matched. For class unload events, the unloaded class name is matched. For monitor wait and waited events, the name of the class of the monitor object is matched. For other events, the class name of the event's location is matched. This modifier can be used with any event kind except thread start and thread end. &nbsp;
</tr>
<tr>
<td><div class="indent2">string</div>
<th scope="row"><i>classPattern</i>
<td>Disallowed class pattern. Matches are limited to exact matches of the given class pattern and matches of patterns that begin or end with '*'; for example, "*.Foo" or "java.*". &nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case LocationOnly - if <i>modKind</i> is 7:</div>
<td>Restricts reported events to those that occur at the given location. This modifier can be used with breakpoint, field access, field modification, step, and exception event kinds. &nbsp;
</tr>
<tr>
<td><div class="indent2">location</div>
<th scope="row"><i>loc</i>
<td>Required location&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case ExceptionOnly - if <i>modKind</i> is 8:</div>
<td>Restricts reported exceptions by their class and whether they are caught or uncaught. This modifier can be used with exception event kinds only. &nbsp;
</tr>
<tr>
<td><div class="indent2">referenceTypeID</div>
<th scope="row"><i>exceptionOrNull</i>
<td>Exception to report. Null (0) means report exceptions of all types. A non-null type restricts the reported exception events to exceptions of the given type or any of its subtypes. &nbsp;
</tr>
<tr>
<td><div class="indent2">boolean</div>
<th scope="row"><i>caught</i>
<td>Report caught exceptions&nbsp;
</tr>
<tr>
<td><div class="indent2">boolean</div>
<th scope="row"><i>uncaught</i>
<td>Report uncaught exceptions. Note that it is not always possible to determine whether an exception is caught or uncaught at the time it is thrown. See the exception event catch location under <a href="#JDWP_Event_Composite">composite events</a> for more information. &nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case FieldOnly - if <i>modKind</i> is 9:</div>
<td>Restricts reported events to those that occur for a given field. This modifier can be used with field access and field modification event kinds only. &nbsp;
</tr>
<tr>
<td><div class="indent2">referenceTypeID</div>
<th scope="row"><i>declaring</i>
<td>Type in which field is declared.&nbsp;
</tr>
<tr>
<td><div class="indent2">fieldID</div>
<th scope="row"><i>fieldID</i>
<td>Required field&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case Step - if <i>modKind</i> is 10:</div>
<td>Restricts reported step events to those which satisfy depth and size constraints. This modifier can be used with step event kinds only. &nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Thread in which to step&nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>size</i>
<td>size of each step. See <a href="#JDWP_StepSize">JDWP.StepSize</a>&nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>depth</i>
<td>relative call stack limit. See <a href="#JDWP_StepDepth">JDWP.StepDepth</a>&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case InstanceOnly - if <i>modKind</i> is 11:</div>
<td>Restricts reported events to those whose active 'this' object is the given object. Match value is the null object for static methods. This modifier can be used with any event kind except class prepare, class unload, thread start, and thread end. Introduced in JDWP version 1.4.&nbsp;
</tr>
<tr>
<td><div class="indent2">objectID</div>
<th scope="row"><i>instance</i>
<td>Required 'this' object&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case SourceNameMatch - if <i>modKind</i> is 12:</div>
<td>Restricts reported class prepare events to those for reference types which have a source name which matches the given restricted regular expression. The source names are determined by the reference type's <a href="#JDWP_ReferenceType_SourceDebugExtension"> SourceDebugExtension</a>. This modifier can only be used with class prepare events. Since JDWP version 1.6. Requires the canUseSourceNameFilters capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>.&nbsp;
</tr>
<tr>
<td><div class="indent2">string</div>
<th scope="row"><i>sourceNamePattern</i>
<td>Required source name pattern. Matches are limited to exact matches of the given pattern and matches of patterns that begin or end with '*'; for example, "*.Foo" or "java.*". &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>requestID</i>
<td>ID of created request&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_CLASS">INVALID_CLASS</a><td>Invalid class.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_STRING">INVALID_STRING</a><td>The string is invalid.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_COUNT">INVALID_COUNT</a><td>The count is invalid.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_FIELDID">INVALID_FIELDID</a><td>Invalid field.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_METHODID">INVALID_METHODID</a><td>Invalid method.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_LOCATION">INVALID_LOCATION</a><td>Invalid location.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_EVENT_TYPE">INVALID_EVENT_TYPE</a><td>The specified event type id is not recognized.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_EventRequest_Clear">Clear Command (2)</h3>
Clear an event request. See <a href="#JDWP_EventKind">JDWP.EventKind</a> for a complete list of events that can be cleared. Only the event request matching the specified event kind and requestID is cleared. If there isn't a matching event request the command is a no-op and does not result in an error. Automatically generated events do not have a corresponding event request and may not be cleared using this command.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>byte
<th scope="row"><i>eventKind</i>
<td>Event kind to clear&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>requestID</i>
<td>ID of request to clear&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_EVENT_TYPE">INVALID_EVENT_TYPE</a><td>The specified event type id is not recognized.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_EventRequest_ClearAllBreakpoints">ClearAllBreakpoints Command (3)</h3>
Removes all set breakpoints, a no-op if there are no breakpoints set.
<dl>
<dt>Out Data
<dd>
(None)
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_StackFrame">StackFrame Command Set (16)</h2>

<h3 id="JDWP_StackFrame_GetValues">GetValues Command (1)</h3>
Returns the value of one or more local variables in a given frame. Each variable must be visible at the frame's code index. Even if local variable information is not available, values can be retrieved if the front-end is able to determine the correct local variable index. (Typically, this index can be determined for method arguments from the method signature without access to the local variable table information.) 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The frame's thread. &nbsp;
</tr>
<tr>
<td>frameID
<th scope="row"><i>frame</i>
<td>The frame ID. &nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>slots</i>
<td>The number of values to get. &nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>slots</i> times:
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>slot</i>
<td>The local variable's index in the frame. &nbsp;
</tr>
<tr>
<td><div class="indent1">byte</div>
<th scope="row"><i>sigbyte</i>
<td>A <a href="#JDWP_Tag">tag</a> identifying the type of the variable &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>int
<th scope="row"><i>values</i>
<td>The number of values retrieved, always equal to slots, the number of values to get.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>values</i> times:
</tr>
<tr>
<td><div class="indent1">value</div>
<th scope="row"><i>slotValue</i>
<td>The value of the local variable. &nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_FRAMEID">INVALID_FRAMEID</a><td>Invalid jframeID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_SLOT">INVALID_SLOT</a><td>Invalid slot.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_StackFrame_SetValues">SetValues Command (2)</h3>
Sets the value of one or more local variables. Each variable must be visible at the current frame code index. For primitive values, the value's type must match the variable's type exactly. For object values, there must be a widening reference conversion from the value's type to thevariable's type and the variable's type must be loaded. <p>Even if local variable information is not available, values can be set, if the front-end is able to determine the correct local variable index. (Typically, thisindex can be determined for method arguments from the method signature without access to the local variable table information.) 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The frame's thread. &nbsp;
</tr>
<tr>
<td>frameID
<th scope="row"><i>frame</i>
<td>The frame ID. &nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>slotValues</i>
<td>The number of values to set. &nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>slotValues</i> times:
</tr>
<tr>
<td><div class="indent1">int</div>
<th scope="row"><i>slot</i>
<td>The slot ID. &nbsp;
</tr>
<tr>
<td><div class="indent1">value</div>
<th scope="row"><i>slotValue</i>
<td>The value to set. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_FRAMEID">INVALID_FRAMEID</a><td>Invalid jframeID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_StackFrame_ThisObject">ThisObject Command (3)</h3>
Returns the value of the 'this' reference for this frame. If the frame's method is static or native, the reply will contain the null object reference. 
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The frame's thread. &nbsp;
</tr>
<tr>
<td>frameID
<th scope="row"><i>frame</i>
<td>The frame ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>tagged-objectID
<th scope="row"><i>objectThis</i>
<td>The 'this' object for this frame. &nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_FRAMEID">INVALID_FRAMEID</a><td>Invalid jframeID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_StackFrame_PopFrames">PopFrames Command (4)</h3>
Pop the top-most stack frames of the thread stack, up to, and including 'frame'. The thread must be suspended to perform this command. The top-most stack frames are discarded and the stack frame previous to 'frame' becomes the current frame. The operand stack is restored -- the argument values are added back and if the invoke was not <code>invokestatic</code>, <code>objectref</code> is added back as well. The Java virtual machine program counter is restored to the opcode of the invoke instruction.<p>Since JDWP version 1.4. Requires canPopFrames capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>threadID
<th scope="row"><i>thread</i>
<td>The thread object ID. &nbsp;
</tr>
<tr>
<td>frameID
<th scope="row"><i>frame</i>
<td>The frame ID. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
(None)
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_THREAD">INVALID_THREAD</a><td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>thread is not a known ID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_FRAMEID">INVALID_FRAMEID</a><td>Invalid jframeID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_THREAD_NOT_SUSPENDED">THREAD_NOT_SUSPENDED</a><td>If the specified thread has not been suspended by an event.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NO_MORE_FRAMES">NO_MORE_FRAMES</a><td>There are no more Java or JNI frames on the call stack.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_INVALID_FRAMEID">INVALID_FRAMEID</a><td>Invalid jframeID.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_ClassObjectReference">ClassObjectReference Command Set (17)</h2>

<h3 id="JDWP_ClassObjectReference_ReflectedType">ReflectedType Command (1)</h3>
Returns the reference type reflected by this class object.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>classObjectID
<th scope="row"><i>classObject</i>
<td>The class object. &nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>byte
<th scope="row"><i>refTypeTag</i>
<td><a href="#JDWP_TypeTag">Kind</a> of following reference type. &nbsp;
</tr>
<tr>
<td>referenceTypeID
<th scope="row"><i>typeID</i>
<td>reflected reference type&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_OBJECT">INVALID_OBJECT</a><td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_ModuleReference">ModuleReference Command Set (18)</h2>

<h3 id="JDWP_ModuleReference_Name">Name Command (1)</h3>
Returns the name of this module.<p>Since JDWP version 9.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>moduleID
<th scope="row"><i>module</i>
<td>This module.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>string
<th scope="row"><i>name</i>
<td>The module's name.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_MODULE">INVALID_MODULE</a><td>Invalid module.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h3 id="JDWP_ModuleReference_ClassLoader">ClassLoader Command (2)</h3>
Returns the class loader of this module.<p>Since JDWP version 9.
<dl>
<dt>Out Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>moduleID
<th scope="row"><i>module</i>
<td>This module.&nbsp;
</tr>
</table>
</dd>
<dt>Reply Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>classLoaderID
<th scope="row"><i>classLoader</i>
<td>The module's class loader.&nbsp;
</tr>
</table>
</dd>
<dt>Error Data</dt>
<dd><table><tr>
<th class="bold" style="width: 20%" scope="col">Value
<th class="bold" scope="col">Description
</tr>
<tr><th scope="row"><a href="#Error_INVALID_MODULE">INVALID_MODULE</a><td>Invalid module.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_NOT_IMPLEMENTED">NOT_IMPLEMENTED</a><td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><a href="#Error_VM_DEAD">VM_DEAD</a><td>The virtual machine is not running.&nbsp;</tr>
</table>
</dd></dl>
<h2 id="JDWP_Event">Event Command Set (64)</h2>

<h3 id="JDWP_Event_Composite">Composite Command (100)</h3>
Several events may occur at a given time in the target VM. For example, there may be more than one breakpoint request for a given location or you might single step to the same location as a breakpoint request.  These events are delivered together as a composite event.  For uniformity, a composite event is always used to deliver events, even if there is only one event to report. <P>The events that are grouped in a composite event are restricted in the following ways: <UL><LI>Only with other thread start events for the same thread:    <UL>    <LI>Thread Start Event    </UL><LI>Only with other thread death events for the same thread:    <UL>    <LI>Thread Death Event    </UL><LI>Only with other class prepare events for the same class:    <UL>    <LI>Class Prepare Event    </UL><LI>Only with other class unload events for the same class:    <UL>    <LI>Class Unload Event    </UL><LI>Only with other access watchpoint events for the same field access:    <UL>    <LI>Access Watchpoint Event    </UL><LI>Only with other modification watchpoint events for the same field modification:    <UL>    <LI>Modification Watchpoint Event    </UL><LI>Only with other Monitor contended enter events for the same monitor object:     <UL>    <LI>Monitor Contended Enter Event    </UL><LI>Only with other Monitor contended entered events for the same monitor object:     <UL>    <LI>Monitor Contended Entered Event    </UL><LI>Only with other Monitor wait events for the same monitor object:     <UL>    <LI>Monitor Wait Event    </UL><LI>Only with other Monitor waited events for the same monitor object:     <UL>    <LI>Monitor Waited Event    </UL><LI>Only with other ExceptionEvents for the same exception occurrance:    <UL>    <LI>ExceptionEvent    </UL><LI>Only with other members of this group, at the same location and in the same thread:     <UL>    <LI>Breakpoint Event    <LI>Step Event    <LI>Method Entry Event    <LI>Method Exit Event    </UL></UL><P>The VM Start Event and VM Death Event are automatically generated events. This means they do not need to be requested using the <a href="#JDWP_EventRequest_Set">EventRequest.Set</a> command. The VM Start event signals the completion of VM initialization. The VM Death event signals the termination of the VM.If there is a debugger connected at the time when an automatically generated event occurs it is sent from the target VM. Automatically generated events may also be requested using the EventRequest.Set command and thus multiple events of the same event kind will be sent from the target VM when an event occurs.Automatically generated events are sent with the requestID field in the Event Data set to 0. The value of the suspendPolicy field in the Event Data depends on the event. For the automatically generated VM Start Event the value of suspendPolicy is not defined and is therefore implementation or configuration specific. In the Sun implementation, for example, the suspendPolicy is specified as an option to the JDWP agent at launch-time.The automatically generated VM Death Event will have the suspendPolicy set to NONE.
<dl>
<dt>Event Data
<dd>
<table><tr>
<th class="bold" style="width: 20%" scope="col">Type
<th class="bold" style="width: 15%" scope="col">Name
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr>
<td>byte
<th scope="row"><i>suspendPolicy</i>
<td>Which threads where suspended by this composite event?&nbsp;
</tr>
<tr>
<td>int
<th scope="row"><i>events</i>
<td>Events in set.&nbsp;
</tr>
<tr>
<th colspan="3" scope="rowgroup">Repeated <i>events</i> times:
</tr>
<tr>
<td><div class="indent1">byte</div>
<th scope="row"><i>eventKind</i>
<td>Event kind selector&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case VMStart - if <i>eventKind</i> is JDWP.EventKind.VM_START:</div>
<td>Notification of initialization of a target VM.  This event is received before the main thread is started and before any application code has been executed. Before this event occurs a significant amount of system code has executed and a number of system classes have been loaded. This event is always generated by the target VM, even if not explicitly requested.&nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event (or 0 if this event is automatically generated.&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Initial thread&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case SingleStep - if <i>eventKind</i> is JDWP.EventKind.SINGLE_STEP:</div>
<td>Notification of step completion in the target VM. The step event is generated before the code at its location is executed. &nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Stepped thread&nbsp;
</tr>
<tr>
<td><div class="indent2">location</div>
<th scope="row"><i>location</i>
<td>Location stepped to&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case Breakpoint - if <i>eventKind</i> is JDWP.EventKind.BREAKPOINT:</div>
<td>Notification of a breakpoint in the target VM. The breakpoint event is generated before the code at its location is executed. &nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Thread which hit breakpoint&nbsp;
</tr>
<tr>
<td><div class="indent2">location</div>
<th scope="row"><i>location</i>
<td>Location hit&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case MethodEntry - if <i>eventKind</i> is JDWP.EventKind.METHOD_ENTRY:</div>
<td>Notification of a method invocation in the target VM. This event is generated before any code in the invoked method has executed. Method entry events are generated for both native and non-native methods. <P>In some VMs method entry events can occur for a particular thread before its thread start event occurs if methods are called as part of the thread's initialization. &nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Thread which entered method&nbsp;
</tr>
<tr>
<td><div class="indent2">location</div>
<th scope="row"><i>location</i>
<td>The initial executable location in the method.&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case MethodExit - if <i>eventKind</i> is JDWP.EventKind.METHOD_EXIT:</div>
<td>Notification of a method return in the target VM. This event is generated after all code in the method has executed, but the location of this event is the last executed location in the method. Method exit events are generated for both native and non-native methods. Method exit events are not generated if the method terminates with a thrown exception. &nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Thread which exited method&nbsp;
</tr>
<tr>
<td><div class="indent2">location</div>
<th scope="row"><i>location</i>
<td>Location of exit&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case MethodExitWithReturnValue - if <i>eventKind</i> is JDWP.EventKind.METHOD_EXIT_WITH_RETURN_VALUE:</div>
<td>Notification of a method return in the target VM. This event is generated after all code in the method has executed, but the location of this event is the last executed location in the method. Method exit events are generated for both native and non-native methods. Method exit events are not generated if the method terminates with a thrown exception. <p>Since JDWP version 1.6. &nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Thread which exited method&nbsp;
</tr>
<tr>
<td><div class="indent2">location</div>
<th scope="row"><i>location</i>
<td>Location of exit&nbsp;
</tr>
<tr>
<td><div class="indent2">value</div>
<th scope="row"><i>value</i>
<td>Value that will be returned by the method&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case MonitorContendedEnter - if <i>eventKind</i> is JDWP.EventKind.MONITOR_CONTENDED_ENTER:</div>
<td>Notification that a thread in the target VM is attempting to enter a monitor that is already acquired by another thread. Requires canRequestMonitorEvents capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>. <p>Since JDWP version 1.6. &nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Thread which is trying to enter the monitor&nbsp;
</tr>
<tr>
<td><div class="indent2">tagged-objectID</div>
<th scope="row"><i>object</i>
<td>Monitor object reference&nbsp;
</tr>
<tr>
<td><div class="indent2">location</div>
<th scope="row"><i>location</i>
<td>Location of contended monitor enter&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case MonitorContendedEntered - if <i>eventKind</i> is JDWP.EventKind.MONITOR_CONTENDED_ENTERED:</div>
<td>Notification of a thread in the target VM is entering a monitor after waiting for it to be released by another thread. Requires canRequestMonitorEvents capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>. <p>Since JDWP version 1.6. &nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Thread which entered monitor&nbsp;
</tr>
<tr>
<td><div class="indent2">tagged-objectID</div>
<th scope="row"><i>object</i>
<td>Monitor object reference&nbsp;
</tr>
<tr>
<td><div class="indent2">location</div>
<th scope="row"><i>location</i>
<td>Location of contended monitor enter&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case MonitorWait - if <i>eventKind</i> is JDWP.EventKind.MONITOR_WAIT:</div>
<td>Notification of a thread about to wait on a monitor object. Requires canRequestMonitorEvents capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>. <p>Since JDWP version 1.6. &nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Thread which is about to wait&nbsp;
</tr>
<tr>
<td><div class="indent2">tagged-objectID</div>
<th scope="row"><i>object</i>
<td>Monitor object reference&nbsp;
</tr>
<tr>
<td><div class="indent2">location</div>
<th scope="row"><i>location</i>
<td>Location at which the wait will occur&nbsp;
</tr>
<tr>
<td><div class="indent2">long</div>
<th scope="row"><i>timeout</i>
<td>Thread wait time in milliseconds&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case MonitorWaited - if <i>eventKind</i> is JDWP.EventKind.MONITOR_WAITED:</div>
<td>Notification that a thread in the target VM has finished waiting on Requires canRequestMonitorEvents capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>. a monitor object. <p>Since JDWP version 1.6. &nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Thread which waited&nbsp;
</tr>
<tr>
<td><div class="indent2">tagged-objectID</div>
<th scope="row"><i>object</i>
<td>Monitor object reference&nbsp;
</tr>
<tr>
<td><div class="indent2">location</div>
<th scope="row"><i>location</i>
<td>Location at which the wait occured&nbsp;
</tr>
<tr>
<td><div class="indent2">boolean</div>
<th scope="row"><i>timed_out</i>
<td>True if timed out&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case Exception - if <i>eventKind</i> is JDWP.EventKind.EXCEPTION:</div>
<td>Notification of an exception in the target VM. If the exception is thrown from a non-native method, the exception event is generated at the location where the exception is thrown. If the exception is thrown from a native method, the exception event is generated at the first non-native location reached after the exception is thrown. &nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Thread with exception&nbsp;
</tr>
<tr>
<td><div class="indent2">location</div>
<th scope="row"><i>location</i>
<td>Location of exception throw (or first non-native location after throw if thrown from a native method)&nbsp;
</tr>
<tr>
<td><div class="indent2">tagged-objectID</div>
<th scope="row"><i>exception</i>
<td>Thrown exception&nbsp;
</tr>
<tr>
<td><div class="indent2">location</div>
<th scope="row"><i>catchLocation</i>
<td>Location of catch, or 0 if not caught. An exception is considered to be caught if, at the point of the throw, the current location is dynamically enclosed in a try statement that handles the exception. (See the JVM specification for details). If there is such a try statement, the catch location is the first location in the appropriate catch clause. <p>If there are native methods in the call stack at the time of the exception, there are important restrictions to note about the returned catch location. In such cases, it is not possible to predict whether an exception will be handled by some native method on the call stack. Thus, it is possible that exceptions considered uncaught here will, in fact, be handled by a native method and not cause termination of the target VM. Furthermore, it cannot be assumed that the catch location returned here will ever be reached by the throwing thread. If there is a native frame between the current location and the catch location, the exception might be handled and cleared in that native method instead. <p>Note that compilers can generate try-catch blocks in some cases where they are not explicit in the source code; for example, the code generated for <code>synchronized</code> and <code>finally</code> blocks can contain implicit try-catch blocks. If such an implicitly generated try-catch is present on the call stack at the time of the throw, the exception will be considered caught even though it appears to be uncaught from examination of the source code. &nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case ThreadStart - if <i>eventKind</i> is JDWP.EventKind.THREAD_START:</div>
<td>Notification of a new running thread in the target VM. The new thread can be the result of a call to <code>java.lang.Thread.start</code> or the result of attaching a new thread to the VM though JNI. The notification is generated by the new thread some time before its execution starts. Because of this timing, it is possible to receive other events for the thread before this event is received. (Notably, Method Entry Events and Method Exit Events might occur during thread initialization. It is also possible for the <a href="#JDWP_VirtualMachine_AllThreads">VirtualMachine AllThreads</a> command to return a thread before its thread start event is received. <p>Note that this event gives no information about the creation of the thread object which may have happened much earlier, depending on the VM being debugged. &nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Started thread&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case ThreadDeath - if <i>eventKind</i> is JDWP.EventKind.THREAD_DEATH:</div>
<td>Notification of a completed thread in the target VM. The notification is generated by the dying thread before it terminates. Because of this timing, it is possible for {@link VirtualMachine#allThreads} to return this thread after this event is received. <p>Note that this event gives no information about the lifetime of the thread object. It may or may not be collected soon depending on what references exist in the target VM. &nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Ending thread&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case ClassPrepare - if <i>eventKind</i> is JDWP.EventKind.CLASS_PREPARE:</div>
<td>Notification of a class prepare in the target VM. See the JVM specification for a definition of class preparation. Class prepare events are not generated for primtiive classes (for example, java.lang.Integer.TYPE). &nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Preparing thread. In rare cases, this event may occur in a debugger system thread within the target VM. Debugger threads take precautions to prevent these events, but they cannot be avoided under some conditions, especially for some subclasses of java.lang.Error. If the event was generated by a debugger system thread, the value returned by this method is null, and if the requested  <a href="#JDWP_SuspendPolicy">suspend policy</a> for the event was EVENT_THREAD all threads will be suspended instead, and the composite event's suspend policy will reflect this change. <p>Note that the discussion above does not apply to system threads created by the target VM during its normal (non-debug) operation. &nbsp;
</tr>
<tr>
<td><div class="indent2">byte</div>
<th scope="row"><i>refTypeTag</i>
<td>Kind of reference type. See <a href="#JDWP_TypeTag">JDWP.TypeTag</a>&nbsp;
</tr>
<tr>
<td><div class="indent2">referenceTypeID</div>
<th scope="row"><i>typeID</i>
<td>Type being prepared&nbsp;
</tr>
<tr>
<td><div class="indent2">string</div>
<th scope="row"><i>signature</i>
<td>Type signature&nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>status</i>
<td>Status of type. See <a href="#JDWP_ClassStatus">JDWP.ClassStatus</a>&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case ClassUnload - if <i>eventKind</i> is JDWP.EventKind.CLASS_UNLOAD:</div>
<td>Notification of a class unload in the target VM. <p>There are severe constraints on the debugger back-end during garbage collection, so unload information is greatly limited. &nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">string</div>
<th scope="row"><i>signature</i>
<td>Type signature&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case FieldAccess - if <i>eventKind</i> is JDWP.EventKind.FIELD_ACCESS:</div>
<td>Notification of a field access in the target VM. Field modifications are not considered field accesses. Requires canWatchFieldAccess capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>.&nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Accessing thread&nbsp;
</tr>
<tr>
<td><div class="indent2">location</div>
<th scope="row"><i>location</i>
<td>Location of access&nbsp;
</tr>
<tr>
<td><div class="indent2">byte</div>
<th scope="row"><i>refTypeTag</i>
<td>Kind of reference type. See <a href="#JDWP_TypeTag">JDWP.TypeTag</a>&nbsp;
</tr>
<tr>
<td><div class="indent2">referenceTypeID</div>
<th scope="row"><i>typeID</i>
<td>Type of field&nbsp;
</tr>
<tr>
<td><div class="indent2">fieldID</div>
<th scope="row"><i>fieldID</i>
<td>Field being accessed&nbsp;
</tr>
<tr>
<td><div class="indent2">tagged-objectID</div>
<th scope="row"><i>object</i>
<td>Object being accessed (null=0 for statics&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case FieldModification - if <i>eventKind</i> is JDWP.EventKind.FIELD_MODIFICATION:</div>
<td>Notification of a field modification in the target VM. Requires canWatchFieldModification capability - see <a href="#JDWP_VirtualMachine_CapabilitiesNew">CapabilitiesNew</a>.&nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
<tr>
<td><div class="indent2">threadID</div>
<th scope="row"><i>thread</i>
<td>Modifying thread&nbsp;
</tr>
<tr>
<td><div class="indent2">location</div>
<th scope="row"><i>location</i>
<td>Location of modify&nbsp;
</tr>
<tr>
<td><div class="indent2">byte</div>
<th scope="row"><i>refTypeTag</i>
<td>Kind of reference type. See <a href="#JDWP_TypeTag">JDWP.TypeTag</a>&nbsp;
</tr>
<tr>
<td><div class="indent2">referenceTypeID</div>
<th scope="row"><i>typeID</i>
<td>Type of field&nbsp;
</tr>
<tr>
<td><div class="indent2">fieldID</div>
<th scope="row"><i>fieldID</i>
<td>Field being modified&nbsp;
</tr>
<tr>
<td><div class="indent2">tagged-objectID</div>
<th scope="row"><i>object</i>
<td>Object being modified (null=0 for statics&nbsp;
</tr>
<tr>
<td><div class="indent2">value</div>
<th scope="row"><i>valueToBe</i>
<td>Value to be assigned&nbsp;
</tr>
<tr>
<th colspan="2" scope="row"><div class="indent1">Case VMDeath - if <i>eventKind</i> is JDWP.EventKind.VM_DEATH:</div>
<td>&nbsp;
</tr>
<tr>
<td><div class="indent2">int</div>
<th scope="row"><i>requestID</i>
<td>Request that generated event&nbsp;
</tr>
</table>
</dd>
</dl>
<h2 id="JDWP_Error">Error Constants</h2>

<table><tr>
<th class="bold" style="width: 30%" scope="col">Name
<th class="centered bold" style="width: 5%" scope="col">Value
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr><th scope="row"><span id="Error_NONE"></span>NONE<td class="centered">0<td>No error has occurred.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_THREAD"></span>INVALID_THREAD<td class="centered">10<td>Passed thread is null, is not a valid thread or has exited.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_THREAD_GROUP"></span>INVALID_THREAD_GROUP<td class="centered">11<td>Thread group invalid.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_PRIORITY"></span>INVALID_PRIORITY<td class="centered">12<td>Invalid priority.&nbsp;</tr>
<tr><th scope="row"><span id="Error_THREAD_NOT_SUSPENDED"></span>THREAD_NOT_SUSPENDED<td class="centered">13<td>If the specified thread has not been suspended by an event.&nbsp;</tr>
<tr><th scope="row"><span id="Error_THREAD_SUSPENDED"></span>THREAD_SUSPENDED<td class="centered">14<td>Thread already suspended.&nbsp;</tr>
<tr><th scope="row"><span id="Error_THREAD_NOT_ALIVE"></span>THREAD_NOT_ALIVE<td class="centered">15<td>Thread has not been started or is now dead.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_OBJECT"></span>INVALID_OBJECT<td class="centered">20<td>If this reference type has been unloaded and garbage collected.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_CLASS"></span>INVALID_CLASS<td class="centered">21<td>Invalid class.&nbsp;</tr>
<tr><th scope="row"><span id="Error_CLASS_NOT_PREPARED"></span>CLASS_NOT_PREPARED<td class="centered">22<td>Class has been loaded but not yet prepared.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_METHODID"></span>INVALID_METHODID<td class="centered">23<td>Invalid method.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_LOCATION"></span>INVALID_LOCATION<td class="centered">24<td>Invalid location.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_FIELDID"></span>INVALID_FIELDID<td class="centered">25<td>Invalid field.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_FRAMEID"></span>INVALID_FRAMEID<td class="centered">30<td>Invalid jframeID.&nbsp;</tr>
<tr><th scope="row"><span id="Error_NO_MORE_FRAMES"></span>NO_MORE_FRAMES<td class="centered">31<td>There are no more Java or JNI frames on the call stack.&nbsp;</tr>
<tr><th scope="row"><span id="Error_OPAQUE_FRAME"></span>OPAQUE_FRAME<td class="centered">32<td>Information about the frame is not available.&nbsp;</tr>
<tr><th scope="row"><span id="Error_NOT_CURRENT_FRAME"></span>NOT_CURRENT_FRAME<td class="centered">33<td>Operation can only be performed on current frame.&nbsp;</tr>
<tr><th scope="row"><span id="Error_TYPE_MISMATCH"></span>TYPE_MISMATCH<td class="centered">34<td>The variable is not an appropriate type for the function used.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_SLOT"></span>INVALID_SLOT<td class="centered">35<td>Invalid slot.&nbsp;</tr>
<tr><th scope="row"><span id="Error_DUPLICATE"></span>DUPLICATE<td class="centered">40<td>Item already set.&nbsp;</tr>
<tr><th scope="row"><span id="Error_NOT_FOUND"></span>NOT_FOUND<td class="centered">41<td>Desired element not found.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_MODULE"></span>INVALID_MODULE<td class="centered">42<td>Invalid module.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_MONITOR"></span>INVALID_MONITOR<td class="centered">50<td>Invalid monitor.&nbsp;</tr>
<tr><th scope="row"><span id="Error_NOT_MONITOR_OWNER"></span>NOT_MONITOR_OWNER<td class="centered">51<td>This thread doesn't own the monitor.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INTERRUPT"></span>INTERRUPT<td class="centered">52<td>The call has been interrupted before completion.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_CLASS_FORMAT"></span>INVALID_CLASS_FORMAT<td class="centered">60<td>The virtual machine attempted to read a class file and determined that the file is malformed or otherwise cannot be interpreted as a class file.&nbsp;</tr>
<tr><th scope="row"><span id="Error_CIRCULAR_CLASS_DEFINITION"></span>CIRCULAR_CLASS_DEFINITION<td class="centered">61<td>A circularity has been detected while initializing a class.&nbsp;</tr>
<tr><th scope="row"><span id="Error_FAILS_VERIFICATION"></span>FAILS_VERIFICATION<td class="centered">62<td>The verifier detected that a class file, though well formed, contained some sort of internal inconsistency or security problem.&nbsp;</tr>
<tr><th scope="row"><span id="Error_ADD_METHOD_NOT_IMPLEMENTED"></span>ADD_METHOD_NOT_IMPLEMENTED<td class="centered">63<td>Adding methods has not been implemented.&nbsp;</tr>
<tr><th scope="row"><span id="Error_SCHEMA_CHANGE_NOT_IMPLEMENTED"></span>SCHEMA_CHANGE_NOT_IMPLEMENTED<td class="centered">64<td>Schema change has not been implemented.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_TYPESTATE"></span>INVALID_TYPESTATE<td class="centered">65<td>The state of the thread has been modified, and is now inconsistent.&nbsp;</tr>
<tr><th scope="row"><span id="Error_HIERARCHY_CHANGE_NOT_IMPLEMENTED"></span>HIERARCHY_CHANGE_NOT_IMPLEMENTED<td class="centered">66<td>A direct superclass is different for the new class version, or the set of directly implemented interfaces is different and canUnrestrictedlyRedefineClasses is false.&nbsp;</tr>
<tr><th scope="row"><span id="Error_DELETE_METHOD_NOT_IMPLEMENTED"></span>DELETE_METHOD_NOT_IMPLEMENTED<td class="centered">67<td>The new class version does not declare a method declared in the old class version and canUnrestrictedlyRedefineClasses is false.&nbsp;</tr>
<tr><th scope="row"><span id="Error_UNSUPPORTED_VERSION"></span>UNSUPPORTED_VERSION<td class="centered">68<td>A class file has a version number not supported by this VM.&nbsp;</tr>
<tr><th scope="row"><span id="Error_NAMES_DONT_MATCH"></span>NAMES_DONT_MATCH<td class="centered">69<td>The class name defined in the new class file is different from the name in the old class object.&nbsp;</tr>
<tr><th scope="row"><span id="Error_CLASS_MODIFIERS_CHANGE_NOT_IMPLEMENTED"></span>CLASS_MODIFIERS_CHANGE_NOT_IMPLEMENTED<td class="centered">70<td>The new class version has different modifiers and canUnrestrictedlyRedefineClasses is false.&nbsp;</tr>
<tr><th scope="row"><span id="Error_METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED"></span>METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED<td class="centered">71<td>A method in the new class version has different modifiers than its counterpart in the old class version and canUnrestrictedlyRedefineClasses is false.&nbsp;</tr>
<tr><th scope="row"><span id="Error_CLASS_ATTRIBUTE_CHANGE_NOT_IMPLEMENTED"></span>CLASS_ATTRIBUTE_CHANGE_NOT_IMPLEMENTED<td class="centered">72<td>The new class version has a different NestHost, NestMembers, PermittedSubclasses, or Record class attribute and canUnrestrictedlyRedefineClasses is false.&nbsp;</tr>
<tr><th scope="row"><span id="Error_NOT_IMPLEMENTED"></span>NOT_IMPLEMENTED<td class="centered">99<td>The functionality is not implemented in this virtual machine.&nbsp;</tr>
<tr><th scope="row"><span id="Error_NULL_POINTER"></span>NULL_POINTER<td class="centered">100<td>Invalid pointer.&nbsp;</tr>
<tr><th scope="row"><span id="Error_ABSENT_INFORMATION"></span>ABSENT_INFORMATION<td class="centered">101<td>Desired information is not available.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_EVENT_TYPE"></span>INVALID_EVENT_TYPE<td class="centered">102<td>The specified event type id is not recognized.&nbsp;</tr>
<tr><th scope="row"><span id="Error_ILLEGAL_ARGUMENT"></span>ILLEGAL_ARGUMENT<td class="centered">103<td>Illegal argument.&nbsp;</tr>
<tr><th scope="row"><span id="Error_OUT_OF_MEMORY"></span>OUT_OF_MEMORY<td class="centered">110<td>The function needed to allocate memory and no more memory was available for allocation.&nbsp;</tr>
<tr><th scope="row"><span id="Error_ACCESS_DENIED"></span>ACCESS_DENIED<td class="centered">111<td>Debugging has not been enabled in this virtual machine. JVMTI cannot be used.&nbsp;</tr>
<tr><th scope="row"><span id="Error_VM_DEAD"></span>VM_DEAD<td class="centered">112<td>The virtual machine is not running.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INTERNAL"></span>INTERNAL<td class="centered">113<td>An unexpected internal error has occurred.&nbsp;</tr>
<tr><th scope="row"><span id="Error_UNATTACHED_THREAD"></span>UNATTACHED_THREAD<td class="centered">115<td>The thread being used to call this function is not attached to the virtual machine. Calls must be made from attached threads.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_TAG"></span>INVALID_TAG<td class="centered">500<td>object type id or class tag.&nbsp;</tr>
<tr><th scope="row"><span id="Error_ALREADY_INVOKING"></span>ALREADY_INVOKING<td class="centered">502<td>Previous invoke not complete.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_INDEX"></span>INVALID_INDEX<td class="centered">503<td>Index is invalid.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_LENGTH"></span>INVALID_LENGTH<td class="centered">504<td>The length is invalid.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_STRING"></span>INVALID_STRING<td class="centered">506<td>The string is invalid.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_CLASS_LOADER"></span>INVALID_CLASS_LOADER<td class="centered">507<td>The class loader is invalid.&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_ARRAY"></span>INVALID_ARRAY<td class="centered">508<td>The array is invalid.&nbsp;</tr>
<tr><th scope="row"><span id="Error_TRANSPORT_LOAD"></span>TRANSPORT_LOAD<td class="centered">509<td>Unable to load the transport.&nbsp;</tr>
<tr><th scope="row"><span id="Error_TRANSPORT_INIT"></span>TRANSPORT_INIT<td class="centered">510<td>Unable to initialize the transport.&nbsp;</tr>
<tr><th scope="row"><span id="Error_NATIVE_METHOD"></span>NATIVE_METHOD<td class="centered">511<td>&nbsp;</tr>
<tr><th scope="row"><span id="Error_INVALID_COUNT"></span>INVALID_COUNT<td class="centered">512<td>The count is invalid.&nbsp;</tr>
</table>
<h2 id="JDWP_EventKind">EventKind Constants</h2>

<table><tr>
<th class="bold" style="width: 30%" scope="col">Name
<th class="centered bold" style="width: 5%" scope="col">Value
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr><th scope="row"><span id="EventKind_SINGLE_STEP"></span>SINGLE_STEP<td class="centered">1<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_BREAKPOINT"></span>BREAKPOINT<td class="centered">2<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_FRAME_POP"></span>FRAME_POP<td class="centered">3<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_EXCEPTION"></span>EXCEPTION<td class="centered">4<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_USER_DEFINED"></span>USER_DEFINED<td class="centered">5<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_THREAD_START"></span>THREAD_START<td class="centered">6<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_THREAD_DEATH"></span>THREAD_DEATH<td class="centered">7<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_THREAD_END"></span>THREAD_END<td class="centered">7<td>obsolete - was used in jvmdi&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_CLASS_PREPARE"></span>CLASS_PREPARE<td class="centered">8<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_CLASS_UNLOAD"></span>CLASS_UNLOAD<td class="centered">9<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_CLASS_LOAD"></span>CLASS_LOAD<td class="centered">10<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_FIELD_ACCESS"></span>FIELD_ACCESS<td class="centered">20<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_FIELD_MODIFICATION"></span>FIELD_MODIFICATION<td class="centered">21<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_EXCEPTION_CATCH"></span>EXCEPTION_CATCH<td class="centered">30<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_METHOD_ENTRY"></span>METHOD_ENTRY<td class="centered">40<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_METHOD_EXIT"></span>METHOD_EXIT<td class="centered">41<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_METHOD_EXIT_WITH_RETURN_VALUE"></span>METHOD_EXIT_WITH_RETURN_VALUE<td class="centered">42<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_MONITOR_CONTENDED_ENTER"></span>MONITOR_CONTENDED_ENTER<td class="centered">43<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_MONITOR_CONTENDED_ENTERED"></span>MONITOR_CONTENDED_ENTERED<td class="centered">44<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_MONITOR_WAIT"></span>MONITOR_WAIT<td class="centered">45<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_MONITOR_WAITED"></span>MONITOR_WAITED<td class="centered">46<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_VM_START"></span>VM_START<td class="centered">90<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_VM_INIT"></span>VM_INIT<td class="centered">90<td>obsolete - was used in jvmdi&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_VM_DEATH"></span>VM_DEATH<td class="centered">99<td>&nbsp;</tr>
<tr><th scope="row"><span id="EventKind_VM_DISCONNECTED"></span>VM_DISCONNECTED<td class="centered">100<td>Never sent across JDWP&nbsp;</tr>
</table>
<h2 id="JDWP_ThreadStatus">ThreadStatus Constants</h2>

<table><tr>
<th class="bold" style="width: 30%" scope="col">Name
<th class="centered bold" style="width: 5%" scope="col">Value
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr><th scope="row"><span id="ThreadStatus_ZOMBIE"></span>ZOMBIE<td class="centered">0<td>&nbsp;</tr>
<tr><th scope="row"><span id="ThreadStatus_RUNNING"></span>RUNNING<td class="centered">1<td>&nbsp;</tr>
<tr><th scope="row"><span id="ThreadStatus_SLEEPING"></span>SLEEPING<td class="centered">2<td>&nbsp;</tr>
<tr><th scope="row"><span id="ThreadStatus_MONITOR"></span>MONITOR<td class="centered">3<td>&nbsp;</tr>
<tr><th scope="row"><span id="ThreadStatus_WAIT"></span>WAIT<td class="centered">4<td>&nbsp;</tr>
</table>
<h2 id="JDWP_SuspendStatus">SuspendStatus Constants</h2>

<table><tr>
<th class="bold" style="width: 30%" scope="col">Name
<th class="centered bold" style="width: 5%" scope="col">Value
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr><th scope="row"><span id="SuspendStatus_SUSPEND_STATUS_SUSPENDED"></span>SUSPEND_STATUS_SUSPENDED<td class="centered">0x1<td>&nbsp;</tr>
</table>
<h2 id="JDWP_ClassStatus">ClassStatus Constants</h2>

<table><tr>
<th class="bold" style="width: 30%" scope="col">Name
<th class="centered bold" style="width: 5%" scope="col">Value
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr><th scope="row"><span id="ClassStatus_VERIFIED"></span>VERIFIED<td class="centered">1<td>&nbsp;</tr>
<tr><th scope="row"><span id="ClassStatus_PREPARED"></span>PREPARED<td class="centered">2<td>&nbsp;</tr>
<tr><th scope="row"><span id="ClassStatus_INITIALIZED"></span>INITIALIZED<td class="centered">4<td>&nbsp;</tr>
<tr><th scope="row"><span id="ClassStatus_ERROR"></span>ERROR<td class="centered">8<td>&nbsp;</tr>
</table>
<h2 id="JDWP_TypeTag">TypeTag Constants</h2>

<table><tr>
<th class="bold" style="width: 30%" scope="col">Name
<th class="centered bold" style="width: 5%" scope="col">Value
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr><th scope="row"><span id="TypeTag_CLASS"></span>CLASS<td class="centered">1<td>ReferenceType is a class. &nbsp;</tr>
<tr><th scope="row"><span id="TypeTag_INTERFACE"></span>INTERFACE<td class="centered">2<td>ReferenceType is an interface. &nbsp;</tr>
<tr><th scope="row"><span id="TypeTag_ARRAY"></span>ARRAY<td class="centered">3<td>ReferenceType is an array. &nbsp;</tr>
</table>
<h2 id="JDWP_Tag">Tag Constants</h2>

<table><tr>
<th class="bold" style="width: 30%" scope="col">Name
<th class="centered bold" style="width: 5%" scope="col">Value
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr><th scope="row"><span id="Tag_ARRAY"></span>ARRAY<td class="centered">91<td>'[' - an array object (objectID size). &nbsp;</tr>
<tr><th scope="row"><span id="Tag_BYTE"></span>BYTE<td class="centered">66<td>'B' - a byte value (1 byte).&nbsp;</tr>
<tr><th scope="row"><span id="Tag_CHAR"></span>CHAR<td class="centered">67<td>'C' - a character value (2 bytes).&nbsp;</tr>
<tr><th scope="row"><span id="Tag_OBJECT"></span>OBJECT<td class="centered">76<td>'L' - an object (objectID size).&nbsp;</tr>
<tr><th scope="row"><span id="Tag_FLOAT"></span>FLOAT<td class="centered">70<td>'F' - a float value (4 bytes).&nbsp;</tr>
<tr><th scope="row"><span id="Tag_DOUBLE"></span>DOUBLE<td class="centered">68<td>'D' - a double value (8 bytes).&nbsp;</tr>
<tr><th scope="row"><span id="Tag_INT"></span>INT<td class="centered">73<td>'I' - an int value (4 bytes).&nbsp;</tr>
<tr><th scope="row"><span id="Tag_LONG"></span>LONG<td class="centered">74<td>'J' - a long value (8 bytes).&nbsp;</tr>
<tr><th scope="row"><span id="Tag_SHORT"></span>SHORT<td class="centered">83<td>'S' - a short value (2 bytes).&nbsp;</tr>
<tr><th scope="row"><span id="Tag_VOID"></span>VOID<td class="centered">86<td>'V' - a void value (no bytes).&nbsp;</tr>
<tr><th scope="row"><span id="Tag_BOOLEAN"></span>BOOLEAN<td class="centered">90<td>'Z' - a boolean value (1 byte).&nbsp;</tr>
<tr><th scope="row"><span id="Tag_STRING"></span>STRING<td class="centered">115<td>'s' - a String object (objectID size). &nbsp;</tr>
<tr><th scope="row"><span id="Tag_THREAD"></span>THREAD<td class="centered">116<td>'t' - a Thread object (objectID size). &nbsp;</tr>
<tr><th scope="row"><span id="Tag_THREAD_GROUP"></span>THREAD_GROUP<td class="centered">103<td>'g' - a ThreadGroup object (objectID size). &nbsp;</tr>
<tr><th scope="row"><span id="Tag_CLASS_LOADER"></span>CLASS_LOADER<td class="centered">108<td>'l' - a ClassLoader object (objectID size). &nbsp;</tr>
<tr><th scope="row"><span id="Tag_CLASS_OBJECT"></span>CLASS_OBJECT<td class="centered">99<td>'c' - a class object object (objectID size). &nbsp;</tr>
</table>
<h2 id="JDWP_StepDepth">StepDepth Constants</h2>

<table><tr>
<th class="bold" style="width: 30%" scope="col">Name
<th class="centered bold" style="width: 5%" scope="col">Value
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr><th scope="row"><span id="StepDepth_INTO"></span>INTO<td class="centered">0<td>Step into any method calls that occur before the end of the step. &nbsp;</tr>
<tr><th scope="row"><span id="StepDepth_OVER"></span>OVER<td class="centered">1<td>Step over any method calls that occur before the end of the step. &nbsp;</tr>
<tr><th scope="row"><span id="StepDepth_OUT"></span>OUT<td class="centered">2<td>Step out of the current method. &nbsp;</tr>
</table>
<h2 id="JDWP_StepSize">StepSize Constants</h2>

<table><tr>
<th class="bold" style="width: 30%" scope="col">Name
<th class="centered bold" style="width: 5%" scope="col">Value
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr><th scope="row"><span id="StepSize_MIN"></span>MIN<td class="centered">0<td>Step by the minimum possible amount (often a bytecode instruction). &nbsp;</tr>
<tr><th scope="row"><span id="StepSize_LINE"></span>LINE<td class="centered">1<td>Step to the next source line unless there is no line number information in which case a MIN step is done instead.&nbsp;</tr>
</table>
<h2 id="JDWP_SuspendPolicy">SuspendPolicy Constants</h2>

<table><tr>
<th class="bold" style="width: 30%" scope="col">Name
<th class="centered bold" style="width: 5%" scope="col">Value
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr><th scope="row"><span id="SuspendPolicy_NONE"></span>NONE<td class="centered">0<td>Suspend no threads when this event is encountered. &nbsp;</tr>
<tr><th scope="row"><span id="SuspendPolicy_EVENT_THREAD"></span>EVENT_THREAD<td class="centered">1<td>Suspend the event thread when this event is encountered. &nbsp;</tr>
<tr><th scope="row"><span id="SuspendPolicy_ALL"></span>ALL<td class="centered">2<td>Suspend all threads when this event is encountered. &nbsp;</tr>
</table>
<h2 id="JDWP_InvokeOptions">InvokeOptions Constants</h2>
The invoke options are a combination of zero or more of the following bit flags:
<table><tr>
<th class="bold" style="width: 30%" scope="col">Name
<th class="centered bold" style="width: 5%" scope="col">Value
<th class="bold" style="width: 65%" scope="col">Description
</tr>
<tr><th scope="row"><span id="InvokeOptions_INVOKE_SINGLE_THREADED"></span>INVOKE_SINGLE_THREADED<td class="centered">0x01<td>otherwise, all threads started. &nbsp;</tr>
<tr><th scope="row"><span id="InvokeOptions_INVOKE_NONVIRTUAL"></span>INVOKE_NONVIRTUAL<td class="centered">0x02<td>otherwise, normal virtual invoke (instance methods only)&nbsp;</tr>
</table>
</main>
<footer class="legal-footer"><hr/><a href="../../legal/copyright.html">Copyright</a> &copy; 1993, 2021, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.<br>All rights reserved. Use is subject to <a href="https://www.oracle.com/java/javase/terms/license/java17speclicense.html">license terms</a> and the <a href="https://www.oracle.com/technetwork/java/redist-137594.html">documentation redistribution policy</a>. <!-- Version 17.0.2+8-LTS-86 --></footer></body></html>
